diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 00:56:47 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-16 00:56:47 +0000 |
commit | 25d8d901ade3d990310a1abfa676238fe6689f2b (patch) | |
tree | 0ee1cee7b483809f3a754772337b42bd1c623bd3 /app/src/main/res | |
parent | a610be7d16316a17d4c6910027d135ceda09f2ed (diff) | |
download | infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.gz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.bz2 infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.lz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.xz infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.tar.zst infinity-for-reddit-25d8d901ade3d990310a1abfa676238fe6689f2b.zip |
Small changes in RedditGallerySubmissionRecyclerViewAdapter's UI.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/layout/item_reddit_gallery_submission_image.xml | 3 |
2 files changed, 14 insertions, 5 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 index c9d3478e..a1f55806 100644 --- 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 @@ -1,5 +1,13 @@ <?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 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/fab_item_gallery_submission_add_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:src="@drawable/ic_outline_select_photo_24dp" /> + +</LinearLayout>
\ 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 index e10bb1f1..86eef71b 100644 --- a/app/src/main/res/layout/item_reddit_gallery_submission_image.xml +++ b/app/src/main/res/layout/item_reddit_gallery_submission_image.xml @@ -6,7 +6,8 @@ <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" /> + android:layout_height="wrap_content" + android:scaleType="centerCrop" /> <ProgressBar android:id="@+id/progress_bar_item_reddit_gallery_submission_image" |