2020-07-01 17:08:28 +00:00
|
|
|
<?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"
|
2020-09-13 11:28:40 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:foreground="?android:selectableItemBackground">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
2020-07-01 17:08:28 +00:00
|
|
|
android:id="@+id/postImage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-04 17:38:36 +00:00
|
|
|
app:actualImageScaleType="centerCrop"
|
2020-09-13 11:28:40 +00:00
|
|
|
app:viewAspectRatio="1"
|
|
|
|
tools:background="@mipmap/ic_launcher" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/isDownloaded"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="start|top"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:visibility="gone"
|
2020-09-13 11:28:40 +00:00
|
|
|
app:srcCompat="@drawable/ic_cloud_download_24"
|
|
|
|
app:tint="@color/green_400"
|
|
|
|
tools:visibility="gone" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/typeIcon"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="end|top"
|
|
|
|
android:layout_margin="8dp"
|
2020-09-13 11:28:40 +00:00
|
|
|
app:srcCompat="@drawable/ic_video_24"
|
|
|
|
tools:visibility="visible" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<!--<ProgressBar-->
|
|
|
|
<!-- android:id="@+id/progressView"-->
|
|
|
|
<!-- android:layout_width="45dp"-->
|
|
|
|
<!-- android:layout_height="45dp"-->
|
|
|
|
<!-- android:layout_gravity="center"-->
|
|
|
|
<!-- android:visibility="gone" />-->
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/selectedView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="#8A000000"
|
2020-09-13 11:28:40 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="gone">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="28dp"
|
|
|
|
android:layout_height="28dp"
|
|
|
|
android:layout_gravity="end|top"
|
|
|
|
android:layout_margin="8dp"
|
2020-09-13 11:28:40 +00:00
|
|
|
app:srcCompat="@drawable/ic_check_24"
|
|
|
|
app:tint="@color/blue_300"
|
|
|
|
tools:visibility="visible" />
|
2020-07-01 17:08:28 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</FrameLayout>
|