aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-25 21:28:40 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-25 21:28:40 +0000
commite5b35e11e907a10bed08ff9f98c4a116253e34cb (patch)
tree52ea6850439413f0103552ff5ceaf5e7369b48bb /app/src/main/res/layout
parentcfe178117d107113dd938dfedff3b91d1547ab34 (diff)
downloadinfinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar.gz
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar.bz2
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar.lz
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar.xz
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.tar.zst
infinity-for-reddit-e5b35e11e907a10bed08ff9f98c4a116253e34cb.zip
Show GiphyGifInfoBottomSheetFragment before the Giphy gif selector.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/fragment_giphy_gif_info_bottom_sheet.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_giphy_gif_info_bottom_sheet.xml b/app/src/main/res/layout/fragment_giphy_gif_info_bottom_sheet.xml
new file mode 100644
index 00000000..f62ad532
--- /dev/null
+++ b/app/src/main/res/layout/fragment_giphy_gif_info_bottom_sheet.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".bottomsheetfragments.GiphyGifInfoBottomSheetFragment">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <pl.droidsonroids.gif.GifImageView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:padding="16dp"
+ android:src="@drawable/powered_by_giphy" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:text="@string/select_giphy_gif_explanation"
+ android:fontFamily="?attr/font_family"
+ android:textSize="?attr/font_default"
+ android:textColor="?attr/secondaryTextColor" />
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/select_giphy_gif_button_uploaded_images_bottom_sheet_fragment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_margin="16dp"
+ android:backgroundTint="@color/colorPrimary"
+ android:textColor="#FFFFFF"
+ android:text="@string/select_giphy_gif" />
+
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file