diff options
author | Ta-wei Yen <twyen@google.com> | 2015-11-24 22:46:38 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-24 22:46:38 +0000 |
commit | e7f837efd33d5924d48913bcd48685d0c46b456b (patch) | |
tree | f375666ed7b722f41bbc01a0f43c2be52ecb2142 /InCallUI | |
parent | c8d96cc1240e503ea8dd755de633f84c10d1ff52 (diff) | |
parent | edfb0dd3c0c8fea36d5345cfcfc4c98f01a1485a (diff) |
Fix hangup button disappearring on sprout am: 9d55e12032
am: b0c5771895
* commit 'b0c577189558686f823b3b9ccf54160da955d7d2':
Fix hangup button disappearring on sprout
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/res/layout/call_card_fragment.xml | 7 |
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. --> |