diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-22 17:20:00 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-23 17:21:38 -0700 |
commit | a5d5cdf2ed131289943033cfd775dd34ffd7ff45 (patch) | |
tree | efe9512afa45b5e1f802eadd511a73af555c88e3 /res/layout/dialpad_fragment.xml | |
parent | d999b71452baebec789f6f58f1955d30e834826d (diff) |
Add floating dialpad action button
* Replace fake action bar at the bottom of the screen with a floating
action button which casts a shadow.
* Remove the now unused mDialpadOverflowMenu button in DialtactsActivity
* Modify dialpad layout to add a bottom row of buttons which provide
access to the add contact button and overflow menu
* Fix dialpad layout so the heights applied in XML are actually
respected - previously they were being ignored and each dialpad key
was being assigned the height of MATCH_PARENT
Bug: 13932988
Change-Id: I6e48c00c5ceeeffed142c3dd259e630d6daf8111
Diffstat (limited to 'res/layout/dialpad_fragment.xml')
-rw-r--r-- | res/layout/dialpad_fragment.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml index d285cc313..9d3c62043 100644 --- a/res/layout/dialpad_fragment.xml +++ b/res/layout/dialpad_fragment.xml @@ -32,13 +32,13 @@ android:background="@drawable/shadow_fade_up" /> <view class="com.android.dialer.dialpad.DialpadFragment$HoverIgnoringLinearLayout" android:id="@+id/top" - android:animateLayoutChanges="true" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_gravity="bottom" android:orientation="vertical" android:layoutDirection="ltr" - android:background="@color/background_dialpad"> + android:background="@color/background_dialpad" + android:clickable="true"> <Space android:layout_width="match_parent" @@ -47,13 +47,13 @@ <Space android:layout_width="match_parent" - android:layout_height="10dp" /> + android:layout_height="5dp" /> <include layout="@layout/dialpad_digits" /> <Space android:layout_width="match_parent" - android:layout_height="8dp" /> + android:layout_height="4dp" /> <include layout="@layout/dialpad" /> |