session-android/res/layout/media_preview_activity.xml

36 lines
1.4 KiB
XML
Raw Normal View History

2014-08-12 12:11:23 -07:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2014-08-12 12:11:23 -07:00
android:layout_width="match_parent"
2014-06-28 20:40:57 -07:00
android:layout_height="match_parent"
android:background="@color/gray95">
2014-08-12 12:11:23 -07:00
<ImageView android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/media_preview_activity__image_content_description"
android:visibility="gone"/>
<TextView android:id="@+id/loading_indicator"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerInParent="true"
android:text="···"
android:textSize="30sp"
android:textColor="@color/gray10"
android:visibility="gone"
tools:ignore="HardcodedText" />
<TextView android:id="@+id/error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="#ff600000"
android:textColor="#ffffffff"
android:textSize="15sp"
android:padding="10dp"
android:visibility="gone" />
2014-08-12 12:11:23 -07:00
</RelativeLayout>