commit | 807ee34fff442c24da3ef666ce9946e496bfcfdb | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Tue Apr 17 16:24:19 2018 -0700 |
committer | Doris Ling <dling@google.com> | Tue Apr 17 16:24:19 2018 -0700 |
tree | 977b85a115e315932bd7485af3c0a2600a9c33aa | |
parent | 03b8aa3a3ce4fd66b992363bd84854088c243491 [diff] [blame] |
Fix text alignment in SIM lock dialog. - set the text alignment to view start when we bind the view. Change-Id: Ia7f32d7a422a8a18d092d1ff808f792ab1980e87 Fixes: 78165098 Test: visual
diff --git a/src/com/android/settings/EditPinPreference.java b/src/com/android/settings/EditPinPreference.java index 3f992e9..4efed4a 100644 --- a/src/com/android/settings/EditPinPreference.java +++ b/src/com/android/settings/EditPinPreference.java
@@ -57,6 +57,7 @@ if (editText != null) { editText.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD); + editText.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START); } }