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

Commit 50a83fe8 authored by Qi Wang's avatar Qi Wang
Browse files

Fix emergency call layout.

* Move callback information to lower part to avoid squized primary call
  info.

Screenshots
Before:
https://screenshot.googleplex.com/AsMf9ftd8Cg
After:
https://screenshot.googleplex.com/x1KJ6gbRBd3

Bug: 27680065
Change-Id: I69367aad96e7e0aabb07fa7dfcd7efa5e931e04c
parent c6ed1609
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -44,22 +44,13 @@
                android:layout_weight="1"
                android:minHeight="@dimen/call_banner_height"
                android:animateLayoutChanges="true"
                android:gravity="center"
                android:layout_centerHorizontal="true" />
                android:gravity="center" />

            <fragment android:name="com.android.incallui.CallButtonFragment"
                android:id="@+id/callButtonFragment"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />

            <TextView android:id="@+id/connectionServiceMessage"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:visibility="gone"
                android:padding="@dimen/call_banner_side_padding"
                android:background="@android:color/white" />

        </LinearLayout>

        <RelativeLayout
@@ -165,6 +156,14 @@

            </FrameLayout>

            <TextView android:id="@+id/connectionServiceMessage"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:visibility="gone"
                android:padding="@dimen/call_banner_side_padding"
                android:background="@android:color/white" />

        </RelativeLayout>

    </LinearLayout>