aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_comment.xml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-18 02:19:47 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-18 02:19:47 +0000
commit28400822af6024906fccd8fb9893594d283bee1e (patch)
tree3a3f9fb30ae366b9d21b3acf6ac697834db1861c /app/src/main/res/layout/item_comment.xml
parentf7dd37baa415af840a5f4d4772770a6018ee7b2c (diff)
downloadinfinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar.gz
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar.bz2
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar.lz
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar.xz
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.tar.zst
infinity-for-reddit-28400822af6024906fccd8fb9893594d283bee1e.zip
Use MaterialButton for icons in comments.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_comment.xml37
1 files changed, 17 insertions, 20 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index c3ee1b25..bd820199 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -204,20 +204,19 @@
app:layout_constraintStart_toEndOf="@+id/vote_button_toggle_item_post_comment"
app:layout_constraintTop_toTopOf="parent" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
android:id="@+id/more_button_item_post_comment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
- android:padding="8dp"
- android:src="@drawable/ic_more_vert_grey_24dp"
+ app:strokeWidth="0dp"
+ app:icon="@drawable/ic_more_vert_grey_24dp"
+ app:iconSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/expand_button_item_post_comment"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/placeholder_item_post_comment"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent"
+ style="?attr/materialIconButtonOutlinedStyle" />
<TextView
android:id="@+id/expand_button_item_post_comment"
@@ -238,34 +237,32 @@
app:layout_constraintStart_toEndOf="@+id/more_button_item_post_comment"
app:layout_constraintTop_toTopOf="parent" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
android:id="@+id/save_button_item_post_comment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
- android:padding="8dp"
+ app:strokeWidth="0dp"
+ app:iconSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/reply_button_item_post_comment"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/expand_button_item_post_comment"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent"
+ style="?attr/materialIconButtonOutlinedStyle" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
android:id="@+id/reply_button_item_post_comment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="?actionBarItemBackground"
- android:clickable="true"
- android:focusable="true"
- android:padding="8dp"
- android:src="@drawable/ic_reply_grey_24dp"
+ app:strokeWidth="0dp"
+ app:icon="@drawable/ic_reply_grey_24dp"
+ app:iconSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/save_button_item_post_comment"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent"
+ style="?attr/materialIconButtonOutlinedStyle" />
</androidx.constraintlayout.widget.ConstraintLayout>