diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-25 15:28:26 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-25 15:28:26 +0000 |
commit | bba5553e0e9b73eaa804df197efdbfd62e156c7b (patch) | |
tree | c172af7ab2c04ecfe0d3e3032c22eed209355aff /app/src/main | |
parent | b50b5a1e9ab2f27771927e3d5b86123b92241d46 (diff) | |
download | infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar.gz infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar.bz2 infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar.lz infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar.xz infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.tar.zst infinity-for-reddit-bba5553e0e9b73eaa804df197efdbfd62e156c7b.zip |
Adjust the padding of bottom toolbar in post and comment.
Diffstat (limited to 'app/src/main')
25 files changed, 55 insertions, 45 deletions
diff --git a/app/src/main/res/layout/item_post_card_2_gallery_type.xml b/app/src/main/res/layout/item_post_card_2_gallery_type.xml index 49c293b1..dfc0dd95 100644 --- a/app/src/main/res/layout/item_post_card_2_gallery_type.xml +++ b/app/src/main/res/layout/item_post_card_2_gallery_type.xml @@ -217,8 +217,8 @@ android:id="@+id/bottom_constraint_layout_item_post_card_2_gallery_type" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_2_text.xml b/app/src/main/res/layout/item_post_card_2_text.xml index 45e24a76..3589905b 100644 --- a/app/src/main/res/layout/item_post_card_2_text.xml +++ b/app/src/main/res/layout/item_post_card_2_text.xml @@ -177,8 +177,8 @@ android:id="@+id/bottom_constraint_layout_item_post_card_2_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_2_video_autoplay.xml b/app/src/main/res/layout/item_post_card_2_video_autoplay.xml index 72d758e0..d92016d1 100644 --- a/app/src/main/res/layout/item_post_card_2_video_autoplay.xml +++ b/app/src/main/res/layout/item_post_card_2_video_autoplay.xml @@ -218,8 +218,8 @@ android:id="@+id/bottom_constraint_layout_item_post_card_2_video_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_2_video_autoplay_legacy_controller.xml b/app/src/main/res/layout/item_post_card_2_video_autoplay_legacy_controller.xml index 95124881..be99cadc 100644 --- a/app/src/main/res/layout/item_post_card_2_video_autoplay_legacy_controller.xml +++ b/app/src/main/res/layout/item_post_card_2_video_autoplay_legacy_controller.xml @@ -218,8 +218,8 @@ android:id="@+id/bottom_constraint_layout_item_post_card_2_video_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml index 63f5fde8..b7964db6 100644 --- a/app/src/main/res/layout/item_post_card_2_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml @@ -229,8 +229,8 @@ android:id="@+id/bottom_constraint_layout_item_post_card_2_with_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_3_gallery_type.xml b/app/src/main/res/layout/item_post_card_3_gallery_type.xml index d8079ca3..7d1b73cb 100644 --- a/app/src/main/res/layout/item_post_card_3_gallery_type.xml +++ b/app/src/main/res/layout/item_post_card_3_gallery_type.xml @@ -141,7 +141,9 @@ android:id="@+id/bottom_constraint_layout_item_post_card_3_gallery_type" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="8dp"> + android:paddingTop="8dp" + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_3_text.xml b/app/src/main/res/layout/item_post_card_3_text.xml index 88dc22d5..5202b2d1 100644 --- a/app/src/main/res/layout/item_post_card_3_text.xml +++ b/app/src/main/res/layout/item_post_card_3_text.xml @@ -119,7 +119,9 @@ android:id="@+id/bottom_constraint_layout_item_post_card_3_text_type" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="8dp"> + android:paddingTop="8dp" + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_3_video_type_autoplay.xml b/app/src/main/res/layout/item_post_card_3_video_type_autoplay.xml index 1fc8a3c4..671513b7 100644 --- a/app/src/main/res/layout/item_post_card_3_video_type_autoplay.xml +++ b/app/src/main/res/layout/item_post_card_3_video_type_autoplay.xml @@ -141,7 +141,9 @@ android:id="@+id/bottom_constraint_layout_item_post_card_3_video_type_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="8dp"> + android:paddingTop="8dp" + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_3_video_type_autoplay_legacy_controller.xml b/app/src/main/res/layout/item_post_card_3_video_type_autoplay_legacy_controller.xml index b100b032..07fd5b9d 100644 --- a/app/src/main/res/layout/item_post_card_3_video_type_autoplay_legacy_controller.xml +++ b/app/src/main/res/layout/item_post_card_3_video_type_autoplay_legacy_controller.xml @@ -141,7 +141,9 @@ android:id="@+id/bottom_constraint_layout_item_post_card_3_video_type_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="8dp"> + android:paddingTop="8dp" + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_card_3_with_preview.xml b/app/src/main/res/layout/item_post_card_3_with_preview.xml index dee7356e..6c67c593 100644 --- a/app/src/main/res/layout/item_post_card_3_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_3_with_preview.xml @@ -258,7 +258,9 @@ android:id="@+id/bottom_constraint_layout_item_post_card_3_with_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="8dp"> + android:paddingTop="8dp" + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml index ceee8954..7e82b616 100644 --- a/app/src/main/res/layout/item_post_compact.xml +++ b/app/src/main/res/layout/item_post_compact.xml @@ -283,8 +283,8 @@ android:id="@+id/bottom_constraint_layout_item_post_compact" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_compact_right_thumbnail.xml b/app/src/main/res/layout/item_post_compact_right_thumbnail.xml index 35bc1739..d5755e48 100644 --- a/app/src/main/res/layout/item_post_compact_right_thumbnail.xml +++ b/app/src/main/res/layout/item_post_compact_right_thumbnail.xml @@ -280,8 +280,8 @@ android:id="@+id/bottom_constraint_layout_item_post_compact_right_thumbnail" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_gallery.xml b/app/src/main/res/layout/item_post_detail_gallery.xml index 0148dd87..5faf5feb 100644 --- a/app/src/main/res/layout/item_post_detail_gallery.xml +++ b/app/src/main/res/layout/item_post_detail_gallery.xml @@ -250,8 +250,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_gallery" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml index e3294db6..0fe2ab98 100644 --- a/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml +++ b/app/src/main/res/layout/item_post_detail_image_and_gif_autoplay.xml @@ -255,8 +255,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_image_and_gif_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_link.xml b/app/src/main/res/layout/item_post_detail_link.xml index 5b0dcb03..cf0f815c 100644 --- a/app/src/main/res/layout/item_post_detail_link.xml +++ b/app/src/main/res/layout/item_post_detail_link.xml @@ -265,8 +265,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_link" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_no_preview.xml b/app/src/main/res/layout/item_post_detail_no_preview.xml index f1d47fde..4bf6b71a 100644 --- a/app/src/main/res/layout/item_post_detail_no_preview.xml +++ b/app/src/main/res/layout/item_post_detail_no_preview.xml @@ -232,8 +232,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_no_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_text.xml b/app/src/main/res/layout/item_post_detail_text.xml index 8ef8cf2e..fc27afe2 100644 --- a/app/src/main/res/layout/item_post_detail_text.xml +++ b/app/src/main/res/layout/item_post_detail_text.xml @@ -216,8 +216,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml index f6caee7b..48379b62 100644 --- a/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml +++ b/app/src/main/res/layout/item_post_detail_video_and_gif_preview.xml @@ -268,8 +268,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_video_and_gif_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay.xml b/app/src/main/res/layout/item_post_detail_video_autoplay.xml index c5494153..75b86f3f 100644 --- a/app/src/main/res/layout/item_post_detail_video_autoplay.xml +++ b/app/src/main/res/layout/item_post_detail_video_autoplay.xml @@ -249,8 +249,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_video_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_detail_video_autoplay_legacy_controller.xml b/app/src/main/res/layout/item_post_detail_video_autoplay_legacy_controller.xml index 5f68e177..45d61789 100644 --- a/app/src/main/res/layout/item_post_detail_video_autoplay_legacy_controller.xml +++ b/app/src/main/res/layout/item_post_detail_video_autoplay_legacy_controller.xml @@ -250,8 +250,8 @@ android:id="@+id/bottom_constraint_layout_item_post_detail_video_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_gallery_type.xml b/app/src/main/res/layout/item_post_gallery_type.xml index b1ba5d4b..1e92ecfb 100644 --- a/app/src/main/res/layout/item_post_gallery_type.xml +++ b/app/src/main/res/layout/item_post_gallery_type.xml @@ -234,8 +234,8 @@ android:id="@+id/bottom_constraint_layout_item_post_gallery_type" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_text.xml b/app/src/main/res/layout/item_post_text.xml index acd9d288..9428b05a 100644 --- a/app/src/main/res/layout/item_post_text.xml +++ b/app/src/main/res/layout/item_post_text.xml @@ -213,8 +213,8 @@ android:id="@+id/bottom_constraint_layout_item_post_text_type" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_video_type_autoplay.xml b/app/src/main/res/layout/item_post_video_type_autoplay.xml index 7f0b6835..598bd146 100644 --- a/app/src/main/res/layout/item_post_video_type_autoplay.xml +++ b/app/src/main/res/layout/item_post_video_type_autoplay.xml @@ -234,8 +234,8 @@ android:id="@+id/bottom_constraint_layout_item_post_video_type_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_video_type_autoplay_legacy_controller.xml b/app/src/main/res/layout/item_post_video_type_autoplay_legacy_controller.xml index 5b11444a..3f5427b3 100644 --- a/app/src/main/res/layout/item_post_video_type_autoplay_legacy_controller.xml +++ b/app/src/main/res/layout/item_post_video_type_autoplay_legacy_controller.xml @@ -234,8 +234,8 @@ android:id="@+id/bottom_constraint_layout_item_post_video_type_autoplay" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" diff --git a/app/src/main/res/layout/item_post_with_preview.xml b/app/src/main/res/layout/item_post_with_preview.xml index 880487fd..fcb4e9f4 100644 --- a/app/src/main/res/layout/item_post_with_preview.xml +++ b/app/src/main/res/layout/item_post_with_preview.xml @@ -258,8 +258,8 @@ android:id="@+id/bottom_constraint_layout_item_post_with_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:paddingStart="4dp" + android:paddingEnd="4dp"> <com.google.android.material.button.MaterialButton style="?attr/materialIconButtonStyle" |