Make preference title align after icon

- Running service should use app preference layout.
- RestrictedDropdownPreference should use preference layout.
- Tweek Storage item icon padding
- Wifi calling should use Prefernce
- In Open by default page, if there is no vierfied link, we should
  hide the checkbox.

Bug: 186069482
Test: manual
Change-Id: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
Merged-In: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
This commit is contained in:
Edgar Wang
2021-05-18 15:46:52 +08:00
parent 3d867d50f5
commit 600d023892
6 changed files with 7 additions and 21 deletions

View File

@@ -89,7 +89,7 @@ public class VerifiedLinksPreference extends TwoTargetPreference {
CheckBox checkBox = (CheckBox) view.findViewById(com.android.internal.R.id.checkbox);
if (checkBox != null) {
checkBox.setChecked(true);
checkBox.setVisibility(mShowCheckBox ? View.VISIBLE : View.INVISIBLE);
checkboxContainer.setVisibility(mShowCheckBox ? View.VISIBLE : View.GONE);
}
}
}