|
|
@ -1,6 +1,7 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<FrameLayout 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="wrap_content" |
|
|
|
android:foreground="?android:selectableItemBackground"> |
|
|
@ -10,7 +11,8 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:actualImageScaleType="centerCrop" |
|
|
|
app:viewAspectRatio="1"/> |
|
|
|
app:viewAspectRatio="1" |
|
|
|
tools:background="@mipmap/ic_launcher" /> |
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
android:id="@+id/isDownloaded" |
|
|
@ -19,7 +21,9 @@ |
|
|
|
android:layout_gravity="start|top" |
|
|
|
android:layout_margin="8dp" |
|
|
|
android:visibility="gone" |
|
|
|
app:srcCompat="@drawable/downloaded" /> |
|
|
|
app:srcCompat="@drawable/ic_cloud_download_24" |
|
|
|
app:tint="@color/green_400" |
|
|
|
tools:visibility="gone" /> |
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
android:id="@+id/typeIcon" |
|
|
@ -27,7 +31,8 @@ |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_gravity="end|top" |
|
|
|
android:layout_margin="8dp" |
|
|
|
app:srcCompat="@drawable/video" /> |
|
|
|
app:srcCompat="@drawable/ic_video_24" |
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
<!--<ProgressBar--> |
|
|
|
<!-- android:id="@+id/progressView"--> |
|
|
@ -41,13 +46,16 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="#8A000000" |
|
|
|
android:visibility="gone"> |
|
|
|
android:visibility="gone" |
|
|
|
tools:visibility="gone"> |
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView |
|
|
|
android:layout_width="28dp" |
|
|
|
android:layout_height="28dp" |
|
|
|
android:layout_gravity="end|top" |
|
|
|
android:layout_margin="8dp" |
|
|
|
app:srcCompat="@drawable/check" /> |
|
|
|
app:srcCompat="@drawable/ic_check_24" |
|
|
|
app:tint="@color/blue_300" |
|
|
|
tools:visibility="visible" /> |
|
|
|
</FrameLayout> |
|
|
|
</FrameLayout> |