PreferenceApp:这个演示应用程序如何使用PreferenceFragmentCompat

上传者: 42116650 | 上传时间: 2022-05-08 22:53:34 | 文件大小: 82KB | 文件类型: ZIP
PreferenceApp 这是一个Android演示应用程序,如何使用PreferenceFragmentCompat 。 到目前为止有什么用 创建一个托管PreferenceFragmentCompat的Activity 。 使用xml的喜好包含文件PreferenceScreen与和内PreferenceScreen 处理PreferenceScreen打开 处理方向更改而无需在片段上保留实例或锁定Activity 处理android后退按钮以转到上一个屏幕 待办的。 去做 汉德回到首页行动。 实施信息 PreferenceFragmentCompat是android扩展支持库的一部分,您可以通过添加到build.gradle来使用它: compile 'com.android.support:preference-v7:23.0.1' 该项目的目的是实现onPrefe

文件下载

资源详情

[{"title":"( 30 个子文件 82KB ) PreferenceApp:这个演示应用程序如何使用PreferenceFragmentCompat","children":[{"title":"PreferenceApp-master","children":[{"title":".gitignore <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"madlymad","children":[{"title":"preferenceapp","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 379B </span>","children":null,"spread":false}],"spread":false},{"title":"xml","children":[{"title":"preferences.xml <span style='color:#111;'> 648B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"arrays.xml <span style='color:#111;'> 473B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"madlymad","children":[{"title":"preferenceapp","children":[{"title":"MyActivity.java <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"AppPreferenceFragment.java <span style='color:#111;'> 771B </span>","children":null,"spread":false},{"title":"MyPreferenceFragment.java <span style='color:#111;'> 473B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"madlymad","children":[{"title":"preferenceapp","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 319B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 48.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明