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

Commit 308c030c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Changing InflatedMessage to use RelativeLayout instead of LinearLayout." into arc-apps

parents c5036b38 b1886c72
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>