47 lines
2 KiB
XML
47 lines
2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<com.google.android.exoplayer2.ui.AspectRatioFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:layout_height="95dp"
|
||
|
tools:layout_width="95dp">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/media_gallery_image"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:importantForAccessibility="no"
|
||
|
android:scaleType="centerCrop"
|
||
|
tools:src="@drawable/test_gradient" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/media_gallery_play_overlay"
|
||
|
android:layout_width="36dp"
|
||
|
android:layout_height="36dp"
|
||
|
android:importantForAccessibility="no"
|
||
|
android:scaleType="centerCrop"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/v2_media_gallery_item_video_overlay" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/media_gallery_check"
|
||
|
android:layout_width="25dp"
|
||
|
android:layout_height="25dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:importantForAccessibility="no"
|
||
|
android:scaleType="centerCrop"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/v2_media_check" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
</com.google.android.exoplayer2.ui.AspectRatioFrameLayout>
|