Fix overlapping issue in Security certificate page
Bug: 263440830 Test: 1) Settings > Security > More security settings > Encryption & credentials > Trusted credentials > Click a random cert 2) Scroll the list and see if content is overlapping over the spinner Change-Id: Idc378975ea645214369481a9a7f0b4a85e045a05
This commit is contained in:
@@ -309,6 +309,8 @@ class TrustedCredentialsDialogBuilder extends AlertDialog.Builder {
|
|||||||
|
|
||||||
LinearLayout certLayout = new LinearLayout(mActivity);
|
LinearLayout certLayout = new LinearLayout(mActivity);
|
||||||
certLayout.setOrientation(LinearLayout.VERTICAL);
|
certLayout.setOrientation(LinearLayout.VERTICAL);
|
||||||
|
// Prevent content overlapping with spinner
|
||||||
|
certLayout.setClipChildren(true);
|
||||||
certLayout.addView(spinner);
|
certLayout.addView(spinner);
|
||||||
for (int i = 0; i < views.size(); ++i) {
|
for (int i = 0; i < views.size(); ++i) {
|
||||||
View certificateView = views.get(i);
|
View certificateView = views.get(i);
|
||||||
|
Reference in New Issue
Block a user