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

Commit df16e86c authored by Ben Lin's avatar Ben Lin Committed by android-build-merger
Browse files

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

am: 308c030c

Change-Id: I6b0430bbebe60c822bf9928f46b94765b5325462
parents c6290c6a 308c030c
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>