aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_post_image.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-11-04 14:13:59 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-11-04 14:13:59 +0000
commite6bb87a9cc2ded99707020592957627726d91898 (patch)
tree0d13f4078e6e3c318b8f514b79aa5b418e0249a6 /app/src/main/res/layout/activity_post_image.xml
parent7c8bde7e993a614c904200b73802017de3e12fb3 (diff)
downloadinfinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar.gz
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar.bz2
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar.lz
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar.xz
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.tar.zst
infinity-for-reddit-e6bb87a9cc2ded99707020592957627726d91898.zip
Fix Material Design 3 issue.
Diffstat (limited to 'app/src/main/res/layout/activity_post_image.xml')
-rw-r--r--app/src/main/res/layout/activity_post_image.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_post_image.xml b/app/src/main/res/layout/activity_post_image.xml
index 2e66a7ea..fe286ab8 100644
--- a/app/src/main/res/layout/activity_post_image.xml
+++ b/app/src/main/res/layout/activity_post_image.xml
@@ -36,9 +36,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingStart="16dp"
android:paddingTop="8dp"
- android:paddingEnd="16dp"
android:paddingBottom="8dp">
<pl.droidsonroids.gif.GifImageView
@@ -46,7 +44,8 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentStart="true"
- android:layout_centerVertical="true" />
+ android:layout_centerVertical="true"
+ android:layout_marginStart="16dp" />
<TextView
android:id="@+id/subreddit_name_text_view_post_image_activity"
@@ -54,7 +53,6 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="32dp"
- android:layout_marginEnd="16dp"
android:layout_toStartOf="@id/rules_button_post_image_activity"
android:layout_toEndOf="@id/subreddit_icon_gif_image_view_post_image_activity"
android:text="@string/choose_a_subreddit"
@@ -67,6 +65,8 @@
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:text="@string/rules"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family" />
@@ -197,6 +197,7 @@
android:id="@+id/capture_fab_post_image_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_margin="16dp"
android:src="@drawable/ic_outline_add_a_photo_24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/select_from_library_fab_post_image_activity"
@@ -209,6 +210,7 @@
android:id="@+id/select_from_library_fab_post_image_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_margin="16dp"
android:src="@drawable/ic_outline_select_photo_24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"