aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-15 19:46:34 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-15 19:46:34 +0000
commit6384fc0ca91d73d7d933642ee781f8bf604b77ab (patch)
tree483fd2c2946ccd2c453d4b37806227af6824fe30 /app
parent3528e3f2cfcd76aff1c15439bfbf9bfac327759b (diff)
downloadinfinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar.gz
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar.bz2
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar.lz
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar.xz
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.tar.zst
infinity-for-reddit-6384fc0ca91d73d7d933642ee781f8bf604b77ab.zip
Continue changing vote button icons.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java1
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java1
-rw-r--r--app/src/main/res/layout/item_post_card_2_gallery_type.xml3
-rw-r--r--app/src/main/res/layout/item_post_card_2_text.xml4
-rw-r--r--app/src/main/res/layout/item_post_card_2_video_autoplay.xml3
-rw-r--r--app/src/main/res/layout/item_post_card_2_video_autoplay_legacy_controller.xml3
-rw-r--r--app/src/main/res/layout/item_post_card_2_with_preview.xml3
-rw-r--r--app/src/main/res/layout/item_post_compact.xml3
-rw-r--r--app/src/main/res/layout/item_post_compact_right_thumbnail.xml3
-rw-r--r--app/src/main/res/layout/item_post_gallery_type.xml3
-rw-r--r--app/src/main/res/layout/item_post_text.xml3
-rw-r--r--app/src/main/res/layout/item_post_video_type_autoplay.xml3
-rw-r--r--app/src/main/res/layout/item_post_video_type_autoplay_legacy_controller.xml4
-rw-r--r--app/src/main/res/layout/item_post_with_preview.xml3
14 files changed, 28 insertions, 12 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
index 636adebc..80b99011 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
@@ -5123,6 +5123,7 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
PostCard2WithPreviewViewHolder(@NonNull ItemPostCard2WithPreviewBinding binding) {
super(binding.getRoot());
+ this.binding = binding;
setBaseView(
binding.iconGifImageViewItemPostCard2WithPreview,
binding.subredditNameTextViewItemPostCard2WithPreview,
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
index 2d7296ac..e7fd43fc 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java
@@ -5341,6 +5341,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
PostCard2WithPreviewViewHolder(@NonNull ItemPostCard2WithPreviewBinding binding) {
super(binding.getRoot());
+ this.binding = binding;
setBaseView(
binding.iconGifImageViewItemPostCard2WithPreview,
binding.subredditNameTextViewItemPostCard2WithPreview,
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 622d3876..fab4e62e 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,7 +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:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_card_2_gallery_type"
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 7a74d657..b784fb22 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
@@ -176,7 +176,9 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_constraint_layout_item_post_card_2_text"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_card_2_text"
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 494ee4ad..e7e64092 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,7 +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:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_card_2_video_autoplay"
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 fcb36fb9..2a8fc862 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,7 +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:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_card_2_video_autoplay"
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 07acf34f..fb2e343d 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,7 +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:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_card_2_with_preview"
diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml
index eda5faca..c38161b6 100644
--- a/app/src/main/res/layout/item_post_compact.xml
+++ b/app/src/main/res/layout/item_post_compact.xml
@@ -283,7 +283,8 @@
android:id="@+id/bottom_constraint_layout_item_post_compact"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_compact"
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 a5ea945e..da1d0599 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,7 +280,8 @@
android:id="@+id/bottom_constraint_layout_item_post_compact_right_thumbnail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_compact_right_thumbnail"
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 0a5712a9..cf2877c3 100644
--- a/app/src/main/res/layout/item_post_gallery_type.xml
+++ b/app/src/main/res/layout/item_post_gallery_type.xml
@@ -234,7 +234,8 @@
android:id="@+id/bottom_constraint_layout_item_post_gallery_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_gallery_type"
diff --git a/app/src/main/res/layout/item_post_text.xml b/app/src/main/res/layout/item_post_text.xml
index 68b2a551..d2ec942c 100644
--- a/app/src/main/res/layout/item_post_text.xml
+++ b/app/src/main/res/layout/item_post_text.xml
@@ -213,7 +213,8 @@
android:id="@+id/bottom_constraint_layout_item_post_text_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_text_type"
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 24db9673..ab99c40f 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,7 +234,8 @@
android:id="@+id/bottom_constraint_layout_item_post_video_type_autoplay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_video_type_autoplay"
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 2e34ec50..752677f6 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
@@ -233,7 +233,9 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_constraint_layout_item_post_video_type_autoplay"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_video_type_autoplay"
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 f04b4307..80410c3f 100644
--- a/app/src/main/res/layout/item_post_with_preview.xml
+++ b/app/src/main/res/layout/item_post_with_preview.xml
@@ -258,7 +258,8 @@
android:id="@+id/bottom_constraint_layout_item_post_with_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp">
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/vote_button_toggle_item_post_with_preview"