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

Commit b1886c72 authored by Ben Lin's avatar Ben Lin
Browse files

Changing InflatedMessage to use RelativeLayout instead of LinearLayout.

Bug: 36636465
Change-Id: I817a4454ece432cd2327c1b77d0520773a4c7050
parent 2e81db6f
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -17,38 +17,38 @@
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/empty"
    android:gravity="center"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="@color/directory_background"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:clickable="true">

    <LinearLayout
    <RelativeLayout
        android:id="@+id/content"
        android:gravity="center"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
        android:layout_height="match_parent">

        <ImageView
            android:id="@+id/artwork"
            android:adjustViewBounds="true"
            android:layout_height="250dp"
            android:layout_above="@+id/message"
            android:layout_height="wrap_content"
            android:layout_width="fill_parent"
            android:alpha="1"
            android:layout_centerVertical="true"
            android:layout_marginBottom="25dp"
            android:scaleType="fitCenter"
            android:maxHeight="250dp"
            android:adjustViewBounds="true"
            android:contentDescription="@null"/>

        <TextView
            android:id="@+id/message"
            android:id="@id/message"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            style="@android:style/TextAppearance.Material.Subhead"/>

    </LinearLayout>
    </RelativeLayout>

</FrameLayout>