summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorTa-wei Yen <twyen@google.com>2015-11-24 22:43:08 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-11-24 22:43:08 +0000
commitedfb0dd3c0c8fea36d5345cfcfc4c98f01a1485a (patch)
treecbddc1c69cebdde5549847eeb6c9213a20eeb7dd /InCallUI
parent42717098d61e7c4ab352fa7909ae5a2552d77ae4 (diff)
parent747c03ea608aeba0a068fce21377bafc90ca639c (diff)
Fix hangup button disappearring on sprout
am: 9d55e12032 * commit '9d55e12032296c3c1d97f6324d9b34fee31c9cb2': Fix hangup button disappearring on sprout
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/res/layout/call_card_fragment.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/InCallUI/res/layout/call_card_fragment.xml b/InCallUI/res/layout/call_card_fragment.xml
index 2b8e811e5..760e4e261 100644
--- a/InCallUI/res/layout/call_card_fragment.xml
+++ b/InCallUI/res/layout/call_card_fragment.xml
@@ -56,7 +56,7 @@
</LinearLayout>
- <FrameLayout
+ <RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2">
@@ -145,7 +145,8 @@
android:layout_width="@dimen/end_call_floating_action_button_diameter"
android:layout_height="@dimen/end_call_floating_action_button_diameter"
android:background="@drawable/fab_red"
- android:layout_gravity="bottom|center_horizontal"
+ android:layout_alignParentBottom="true"
+ android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/end_call_button_margin_bottom">
<ImageButton android:id="@+id/floating_end_call_action_button"
@@ -158,7 +159,7 @@
</FrameLayout>
- </FrameLayout>
+ </RelativeLayout>
</LinearLayout>
<!-- Secondary "Call info" block, for the background ("on hold") call. -->