/**
* Shows the simplified settings UI if the device configuration if the device configuration
* dictates that a simplified, single-pane UI should be shown.
*/
private void setupSimplePreferencesScreen() {
if (!isSimplePreferences(this)) {
return;
}
// In the simplified UI, fragments are not used at all and we instead
// use the older PreferenceActivity APIs.
// Add 'general' preferences.
addPreferencesFromResource(R.xml.pref_general);
MultiSelectListPreference accountListPreference =
(MultiSelectListPreference) findPreference("accounts_list");
new LoadAccounts(this, accountListPreference).execute();
}
SettingsActivity.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:DashClock_K-9
作者:
评论列表
文章目录