133 lines
4.5 KiB
XML
133 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ScrollView
|
|
android:id="@+id/svDescription"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="12dp"
|
|
android:paddingTop="6dp"
|
|
android:paddingEnd="12dp"
|
|
android:paddingBottom="6dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvDescription"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</ScrollView>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<jp.juggler.subwaytooter.view.PinchBitmapView
|
|
android:id="@+id/pbvImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/media_background" />
|
|
|
|
<com.google.android.exoplayer2.ui.PlayerView
|
|
android:id="@+id/exoView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvError"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:padding="12dp" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<FrameLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<CheckBox
|
|
android:id="@+id/cbMute"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:text="@string/mute"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/tvStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="6dp"
|
|
android:alpha="0.5"
|
|
android:gravity="end|bottom"
|
|
android:textColor="#ffffff"
|
|
android:textSize="12sp" />
|
|
</FrameLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnPrevious"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:contentDescription="@string/previous"
|
|
|
|
android:minWidth="48dp"
|
|
android:src="@drawable/ic_arrow_start"
|
|
android:tint="?attr/colorVectorDrawable" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnNext"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:contentDescription="@string/next"
|
|
android:minWidth="48dp"
|
|
android:src="@drawable/ic_arrow_end"
|
|
android:tint="?attr/colorVectorDrawable" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnDownload"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:contentDescription="@string/download"
|
|
android:minWidth="48dp"
|
|
android:src="@drawable/ic_download"
|
|
android:tint="?attr/colorVectorDrawable" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnMore"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:contentDescription="@string/more"
|
|
android:minWidth="48dp"
|
|
android:src="@drawable/ic_more"
|
|
android:tint="?attr/colorVectorDrawable" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<!-- <com.google.android.flexbox.FlexboxLayout-->
|
|
|
|
<!-- android:id="@+id/flFooter"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- app:alignItems="flex_start"-->
|
|
<!-- app:flexWrap="wrap"-->
|
|
<!-- app:justifyContent="flex_start">-->
|
|
|
|
|
|
<!-- </com.google.android.flexbox.FlexboxLayout>-->
|
|
|
|
|
|
</LinearLayout>
|