summaryrefslogtreecommitdiff
path: root/res/layout/dialpad_key.xml
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-06 12:08:08 -0700
committerYorke Lee <yorkelee@google.com>2013-09-06 12:26:50 -0700
commit778408732c1e8fb81d1b5dc6df92725aa397e978 (patch)
tree2a72f95dfc0f6b9af8855dc0e46290c9636bea32 /res/layout/dialpad_key.xml
parent6276f093cf16a4797f43d53a76e3a8e5a279ea22 (diff)
Tweak Dialpad redlines
Centralize dialpad keys Change voicemail icon Bug: 10445734 Bug: 10510368 Change-Id: I1e9dc98c9aed07c26bdfe176f4a4c94c65fc6d85
Diffstat (limited to 'res/layout/dialpad_key.xml')
-rw-r--r--res/layout/dialpad_key.xml40
1 files changed, 21 insertions, 19 deletions
diff --git a/res/layout/dialpad_key.xml b/res/layout/dialpad_key.xml
index b204c20a2..074e0235f 100644
--- a/res/layout/dialpad_key.xml
+++ b/res/layout/dialpad_key.xml
@@ -19,24 +19,26 @@
xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/DialtactsDialpadButtonStyle"
android:clickable="true" >
- <TextView
- android:id="@+id/dialpad_key_number"
+ <LinearLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/dialpad_primary_text_color"
- android:textSize="@dimen/dialpad_key_numbers_size"
- android:fontFamily="sans-serif-light"
- android:layout_centerInParent="true"
- />
- <TextView
- android:id="@+id/dialpad_key_letters"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/dialpad_secondary_text_color"
- android:textSize="@dimen/dialpad_key_letters_size"
- android:paddingRight="11dp"
- android:layout_alignBaseline="@id/dialpad_key_number"
- android:fontFamily="sans-serif-light"
- android:layout_alignParentRight="true"
- />
+ android:layout_height="match_parent"
+ android:layout_gravity="center">
+ <TextView
+ android:id="@+id/dialpad_key_number"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/dialpad_primary_text_color"
+ android:textSize="@dimen/dialpad_key_numbers_size"
+ android:fontFamily="sans-serif-light"
+ />
+ <TextView
+ android:id="@+id/dialpad_key_letters"
+ android:layout_width="@dimen/dialpad_key_letters_width"
+ android:layout_height="wrap_content"
+ android:textColor="@color/dialpad_secondary_text_color"
+ android:textSize="@dimen/dialpad_key_letters_size"
+ android:paddingLeft="11dp"
+ android:fontFamily="sans-serif-light"
+ />
+ </LinearLayout>
</com.android.dialer.dialpad.DialpadKeyButton> \ No newline at end of file