Merge "Make preference title align after icon"

This commit is contained in:
Edgar Wang
2021-05-21 07:20:29 +00:00
committed by Android (Google) Code Review
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);
}
}
}