2017-01-10 07:14:27 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-05-10 15:24:45 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-05-10 20:13:25 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-01-10 07:14:27 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-03-14 19:24:38 +01:00
|
|
|
android:layout_gravity="center"
|
2018-05-10 20:13:25 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
2017-05-07 23:58:56 +02:00
|
|
|
|
2017-05-04 16:16:24 +02:00
|
|
|
<com.github.chrisbanes.photoview.PhotoView
|
2017-01-10 07:14:27 +01:00
|
|
|
android:id="@+id/view_media_image"
|
|
|
|
android:layout_width="match_parent"
|
2017-05-12 03:31:29 +02:00
|
|
|
android:layout_height="match_parent" />
|
2017-05-10 15:24:45 +02:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/view_media_progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_gravity="center" />
|
2017-05-07 23:58:56 +02:00
|
|
|
|
2018-05-10 20:13:25 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_media_description"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:background="#60000000"
|
|
|
|
android:lineSpacingMultiplier="1.1"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="#eee"
|
|
|
|
tools:text="Some media description" />
|
|
|
|
|
2017-05-10 15:24:45 +02:00
|
|
|
</RelativeLayout>
|