diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-30 16:55:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-30 16:55:44 +0000 |
commit | cde445645e34e8a6a4b2cba48565c221a6596e85 (patch) | |
tree | 9c668c93b4008bb9c4bb2cf8bf4da1e68898e8f2 /java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml | |
parent | 34582db05d06eb76c88ca95452199ec728c9bee3 (diff) | |
parent | ec1a970dec22d68773f8ae9dbde6f17df6154e03 (diff) |
Merge changes Ic7360019,I9b60657c
* changes:
internal change
Make dialpad key alignment responsive to font size.
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml b/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml index 4c46447d4..714507202 100644 --- a/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml +++ b/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key_zero.xml @@ -21,6 +21,7 @@ style="@style/DialpadKeyButtonStyle"> <LinearLayout + android:id="@+id/dialpad_key_layout" style="@style/DialpadKeyInternalLayoutStyle" android:layout_gravity="right|center_vertical" android:baselineAligned="false" @@ -37,7 +38,11 @@ <TextView android:id="@+id/dialpad_key_letters" - style="@style/DialpadKeyLettersStyle" - android:layout_width="@dimen/dialpad_key_text_width"/> + style="@style/DialpadKeyLettersStyle"/> + <!-- A placeholder to make the width the same as other keys. --> + <View + android:id="@+id/dialpad_key_horizontal_placeholder" + android:layout_width="0dp" + android:layout_height="match_parent"/> </LinearLayout> </com.android.dialer.dialpadview.DialpadKeyButton> |