aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/item_reddit_gallery_submission_add_image.xml16
-rw-r--r--app/src/main/res/layout/item_reddit_gallery_submission_image.xml3
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"