需求:长按workspace空白处,Home Settings添加launcher界面布局3x3,4x4,5x5设置
添加布局文件,当网格设置关闭时,所有设置项置灰不允许点击
- 源码:/vendor/mediatek/proprietary/packages/apps/Launcher3/res/xml/launcher_preferences.xml
// add for grid options settings
<PreferenceCategory
android:key="grid_options_category"
android:order="100">
<SwitchPreference
android:key