diff options
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml b/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml index b126f723f..12f24ac52 100644 --- a/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml +++ b/java/com/android/dialer/dialpadview/res/layout-land/dialpad_key.xml @@ -14,12 +14,13 @@ limitations under the License. --> -<!-- A layout representing a single key in the dialpad --> +<!-- A layout representing each of keys "2" ~ "9" in the dialpad --> <com.android.dialer.dialpadview.DialpadKeyButton xmlns:android="http://schemas.android.com/apk/res/android" style="@style/DialpadKeyButtonStyle"> <LinearLayout + android:id="@+id/dialpad_key_layout" style="@style/DialpadKeyInternalLayoutStyle" android:layout_gravity="right|center_vertical" android:baselineAligned="false" @@ -34,10 +35,20 @@ style="@style/DialpadKeyNumberStyle"/> </FrameLayout> - <TextView - android:id="@+id/dialpad_key_letters" - style="@style/DialpadKeyLettersStyle" - android:layout_width="@dimen/dialpad_key_text_width" - android:layout_gravity="center"/> + <LinearLayout + android:id="@+id/dialpad_key_icon_or_letters_layout" + style="@style/DialpadKeyInternalLayoutStyle"> + + <TextView + android:id="@+id/dialpad_key_letters" + style="@style/DialpadKeyLettersStyle"/> + </LinearLayout> + + <!-- 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> |