根据自己的需求自定义设置界面的选项可以
修改packages/apps/Settings/src/com/android/settings/SettingsActivity.java
if (tile.id != R.id.sim_settings|| Utils.showSimCardTile(this)) {
if (tile.id != R.id.sim_settings
&& tile.id != R.id.data_usage_settings
&& tile.id != R.id.wireless_settings
&& tile.id != R.id.application_settings
&& tile.id != R.id.location_settings
&& tile.id != R.id.security_settings
&& tile.id != R.id.account_settings
&& tile.id != R.id.power_settings
&& tile.id != R.id.accessibility_settings
&& tile.id != R.id.print_settings) {
category.addTile(tile);
}
}
if里面就是要屏蔽的选项 ID可以在alps_53/packages/apps/Settings/res/xml/dashboard_categories.xml里面查询
共同学习,写下你的评论
评论加载中...
作者其他优质文章