Merge "Fix the option to set a different screen lock in the "Set a PIN" screen is displayed off the screen when the device language is set to Arabic" into main
This commit is contained in:
@@ -116,7 +116,7 @@ public final class PasswordUtils extends com.android.settingslib.Utils {
|
||||
final ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT,
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
lp.leftMargin = layoutTitleParams.leftMargin;
|
||||
lp.setMarginStart(layoutTitleParams.leftMargin);
|
||||
lp.topMargin = (int) context.getResources().getDimensionPixelSize(
|
||||
R.dimen.screen_lock_options_button_margin_top);
|
||||
optButton.setPadding(0, 0, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user