summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladislav Koldobskiy <admin@nevergone.ru>2014-03-11 18:47:02 +0400
committerVladislav Koldobskiy <admin@nevergone.ru>2014-03-11 18:53:10 +0400
commit007490823bec62f6069918831638eac16158acc3 (patch)
treeedad141404950831a3365e18454723b837aba702
parentc3907dd88f15539c0849dc47de6f17da0e2f382a (diff)
downloadandroid_packages_apps_Dialer-007490823bec62f6069918831638eac16158acc3.tar.gz
android_packages_apps_Dialer-007490823bec62f6069918831638eac16158acc3.tar.bz2
android_packages_apps_Dialer-007490823bec62f6069918831638eac16158acc3.zip
Dialer: un-derp the keypad UI
Commit 9f95938d15b77174ad1bdc376e2ee2507516303b made bottom dialer buttons jump to the sides when keypad is open and added a weird "line" below the keys. https://dl.dropboxusercontent.com/u/16268774/open_old.png This patch fixes the issue and restores the old look: https://dl.dropboxusercontent.com/u/16268774/open.png Change-Id: Ib0eb7214d117e2245fa54be4ee9feeba1b5b38a3
-rw-r--r--res/layout/dialpad_fragment.xml13
1 files changed, 2 insertions, 11 deletions
diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml
index 08cc97aca..2f256b8ef 100644
--- a/res/layout/dialpad_fragment.xml
+++ b/res/layout/dialpad_fragment.xml
@@ -110,21 +110,13 @@
android:paddingLeft="5dip"
android:paddingRight="5dip" />
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/dialpad_vertical_margin"
- android:background="#66000000" />
-
- <TableLayout
+ <LinearLayout
android:id="@+id/dialButtonContainer"
android:layout_width="match_parent"
android:layout_height="@dimen/fake_action_bar_height"
android:layout_gravity="center_horizontal"
android:background="@color/dialpad_call_button_color"
android:layoutDirection="locale">
- <TableRow
- android:layout_height="match_parent"
- android:layout_weight="1">
<ImageButton
android:id="@+id/call_history_on_dialpad_button"
android:layout_height="match_parent"
@@ -163,8 +155,7 @@
android:background="@drawable/btn_call"
android:contentDescription="@string/description_dial_button"
android:src="@drawable/ic_add_group_holo_dark" />
- </TableRow>
- </TableLayout>
+ </LinearLayout>
<!-- "Dialpad chooser" UI, shown only when the user brings up the
Dialer while a call is already in progress.