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
This commit is contained in:
@@ -57,6 +57,7 @@ class EditPinPreference extends CustomEditTextPreference {
|
|||||||
if (editText != null) {
|
if (editText != null) {
|
||||||
editText.setInputType(InputType.TYPE_CLASS_NUMBER |
|
editText.setInputType(InputType.TYPE_CLASS_NUMBER |
|
||||||
InputType.TYPE_NUMBER_VARIATION_PASSWORD);
|
InputType.TYPE_NUMBER_VARIATION_PASSWORD);
|
||||||
|
editText.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user