|
@@ -46,7 +46,11 @@ public class SettingsActivity extends BaseActivity implements Listener.SelectFra
|
|
|
model.backgroundImage = ResUtils.getImageId("settings_bg_", i);
|
|
|
model.title = stringList[i].trim();
|
|
|
model.icon = ResUtils.getImageId("settings_icon_", i);
|
|
|
- model.cellType = Constant.CellType.XPSTYLE2;
|
|
|
+ //暂时隐藏电量功能,等 xp 反馈
|
|
|
+ if (i == 3)
|
|
|
+ model.cellType = Constant.CellType.GONE;
|
|
|
+ else
|
|
|
+ model.cellType = Constant.CellType.XPSTYLE2;
|
|
|
mDataList.add(model);
|
|
|
}
|
|
|
}
|
|
@@ -56,7 +60,7 @@ public class SettingsActivity extends BaseActivity implements Listener.SelectFra
|
|
|
ListView listView = findViewById(R.id.activity_listview);
|
|
|
listView.setAdapter(mAdapter);
|
|
|
listView.setDivider(new ColorDrawable(Color.TRANSPARENT));
|
|
|
- listView.setDividerHeight(4);
|
|
|
+ //listView.setDividerHeight(4);
|
|
|
|
|
|
listView.setOnItemClickListener((adapterView, view, i, l) -> {
|
|
|
if (isLockClick) {
|