Fix hangup button disappearring on sprout
am: 9d55e12032
* commit '9d55e12032296c3c1d97f6324d9b34fee31c9cb2':
Fix hangup button disappearring on sprout
diff --git a/InCallUI/res/layout/call_card_fragment.xml b/InCallUI/res/layout/call_card_fragment.xml
index 2b8e811..760e4e2 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. -->