diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-15 13:51:41 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-15 13:51:41 +0000 |
commit | 48a65a4b2fba95a1aa76250afefefdc9829fa653 (patch) | |
tree | d8422d4b2989e85c9fcb92267b94221622e10cc5 /app/src/main/res | |
parent | 14819b780ff1dd7e856965741ba522c9b5a85eab (diff) | |
download | infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar.gz infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar.bz2 infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar.lz infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar.xz infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.tar.zst infinity-for-reddit-48a65a4b2fba95a1aa76250afefefdc9829fa653.zip |
Implement RedditGallerySubmissionRecyclerViewAdapter.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/item_reddit_gallery_submission_image.xml | 27 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml b/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml new file mode 100644 index 00000000..c9d3478e --- /dev/null +++ b/app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_outline_select_photo_24dp" />
\ No newline at end of file diff --git a/app/src/main/res/layout/item_reddit_gallery_submission_image.xml b/app/src/main/res/layout/item_reddit_gallery_submission_image.xml new file mode 100644 index 00000000..e10bb1f1 --- /dev/null +++ b/app/src/main/res/layout/item_reddit_gallery_submission_image.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <ml.docilealligator.infinityforreddit.customviews.AspectRatioGifImageView + android:id="@+id/aspect_ratio_gif_image_view_item_reddit_gallery_submission_image" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <ProgressBar + android:id="@+id/progress_bar_item_reddit_gallery_submission_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" /> + + <ImageView + android:id="@+id/close_image_view_item_reddit_gallery_submission_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="16dp" + android:layout_gravity="top|end" + android:background="@drawable/play_button_round_background" + android:src="@drawable/ic_play_circle_36dp" + android:visibility="gone" /> + +</FrameLayout>
\ No newline at end of file |