1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-08 15:57:29 +00:00
BarInsta/app/src/main/res/layout/item_post.xml
Austin Huang 13beabf741
init
2020-07-01 13:08:28 -04:00

55 lines
1.9 KiB
XML
Executable File

<?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"
tools:viewBindingIgnore="true">
<awais.instagrabber.customviews.FixedImageView
android:id="@+id/postImage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitCenter" />
<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"
app:srcCompat="@drawable/downloaded" />
<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"
app:srcCompat="@drawable/video" />
<ProgressBar
android:id="@+id/progressView"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_gravity="center"
android:visibility="gone" />
<FrameLayout
android:id="@+id/selectedView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#8A000000"
android: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" />
</FrameLayout>
</FrameLayout>