Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e4bc373 authored by Andalam Parthasarathi's avatar Andalam Parthasarathi Committed by Gerrit - the friendly Code Review server
Browse files

IMS-VT: Fix for Call end button overlap

Call end button is overlapping with preview window
in landscape. Call end margin right is less than
preview window container hence overlap is seen.
Now Call end button is aligned center horizontal.

Change-Id: I01b9c9fd59480fea86990a2179564bfe37eb238d
CRs-Fixed: 1095653
parent 5124ab46
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -187,14 +187,20 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <!-- Margin left and centerHorizontal don't work well together, so use a Space instead. -->
    <Space
        android:id="@+id/floating_end_call_action_button_margin_left"
        android:layout_width="@dimen/end_call_button_margin_left"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true" />

     <FrameLayout
        android:id="@+id/floating_end_call_action_button_container"
        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_alignParentRight="true"
        android:layout_toRightOf="@id/floating_end_call_action_button_margin_left"
        android:layout_alignParentBottom="true"
        android:layout_marginRight="@dimen/end_call_button_margin_right"
        android:layout_marginBottom="@dimen/end_call_button_margin_bottom">
        <ImageButton android:id="@+id/floating_end_call_action_button"
            android:layout_width="match_parent"
+1 −1
Original line number Diff line number Diff line
@@ -33,5 +33,5 @@

    <dimen name="video_preview_margin">20dp</dimen>

    <dimen name="end_call_button_margin_right">80dp</dimen>
    <dimen name="end_call_button_margin_left">50dp</dimen>
</resources>