diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-23 15:59:08 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-23 15:59:08 +0000 |
commit | 3725db7c02f94b2c123b4482413062308ffac7f6 (patch) | |
tree | 8be3cc25ee261844da8c1e2b3d538ec546bf3de5 /app/src/main/res/layout | |
parent | 7c6ee5beba83522ad49b54a3fdfdf6d03de107ba (diff) | |
download | infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar.gz infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar.bz2 infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar.lz infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar.xz infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.tar.zst infinity-for-reddit-3725db7c02f94b2c123b4482413062308ffac7f6.zip |
Switch the number of comment and the share button back in compact layout.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/item_post_compact.xml | 32 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_compact_right_thumbnail.xml | 32 |
2 files changed, 32 insertions, 32 deletions
diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml index 442c589a..ceee8954 100644 --- a/app/src/main/res/layout/item_post_compact.xml +++ b/app/src/main/res/layout/item_post_compact.xml @@ -331,48 +331,48 @@ app:layout_constraintTop_toTopOf="parent" /> <com.google.android.material.button.MaterialButton - android:id="@+id/save_button_item_post_compact" + android:id="@+id/comments_count_button_item_post_compact" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:minWidth="0dp" + android:textSize="?attr/font_12" + android:textStyle="bold" + android:fontFamily="?attr/font_family" app:strokeWidth="0dp" + app:iconTint="@null" app:iconSize="24dp" + app:iconPadding="12dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/downvote_button_item_post_compact" style="?attr/materialIconButtonOutlinedStyle" /> <com.google.android.material.button.MaterialButton - android:id="@+id/share_button_item_post_compact" + android:id="@+id/save_button_item_post_compact" android:layout_width="wrap_content" android:layout_height="wrap_content" app:strokeWidth="0dp" - app:icon="@drawable/ic_share_grey_24dp" app:iconSize="24dp" + app:layout_constraintHorizontal_bias="1" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/save_button_item_post_compact" + app:layout_constraintStart_toEndOf="@id/comments_count_button_item_post_compact" + app:layout_constraintEnd_toStartOf="@id/share_button_item_post_compact" style="?attr/materialIconButtonOutlinedStyle" /> <com.google.android.material.button.MaterialButton - android:id="@+id/comments_count_button_item_post_compact" + android:id="@+id/share_button_item_post_compact" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp" - android:minWidth="0dp" - android:textSize="?attr/font_12" - android:textStyle="bold" - android:fontFamily="?attr/font_family" app:strokeWidth="0dp" - app:iconTint="@null" + app:icon="@drawable/ic_share_grey_24dp" app:iconSize="24dp" - app:iconPadding="12dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/share_button_item_post_compact" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHorizontal_bias="1" - style="?attr/materialButtonOutlinedStyle" /> + style="?attr/materialIconButtonOutlinedStyle" /> </androidx.constraintlayout.widget.ConstraintLayout> 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 b973ffe3..35bc1739 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 @@ -328,48 +328,48 @@ app:layout_constraintTop_toTopOf="parent" /> <com.google.android.material.button.MaterialButton - android:id="@+id/save_button_item_post_compact_right_thumbnail" + android:id="@+id/comments_count_button_item_post_compact_right_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:minWidth="0dp" + android:textSize="?attr/font_12" + android:textStyle="bold" + android:fontFamily="?attr/font_family" app:strokeWidth="0dp" + app:iconTint="@null" app:iconSize="24dp" + app:iconPadding="12dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/downvote_button_item_post_compact_right_thumbnail" style="?attr/materialIconButtonOutlinedStyle" /> <com.google.android.material.button.MaterialButton - android:id="@+id/share_button_item_post_compact_right_thumbnail" + android:id="@+id/save_button_item_post_compact_right_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" app:strokeWidth="0dp" - app:icon="@drawable/ic_share_grey_24dp" app:iconSize="24dp" + app:layout_constraintHorizontal_bias="1" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/save_button_item_post_compact_right_thumbnail" + app:layout_constraintStart_toEndOf="@id/comments_count_button_item_post_compact_right_thumbnail" + app:layout_constraintEnd_toStartOf="@id/share_button_item_post_compact_right_thumbnail" style="?attr/materialIconButtonOutlinedStyle" /> <com.google.android.material.button.MaterialButton - android:id="@+id/comments_count_button_item_post_compact_right_thumbnail" + android:id="@+id/share_button_item_post_compact_right_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp" - android:minWidth="0dp" - android:textSize="?attr/font_12" - android:textStyle="bold" - android:fontFamily="?attr/font_family" app:strokeWidth="0dp" - app:iconTint="@null" + app:icon="@drawable/ic_share_grey_24dp" app:iconSize="24dp" - app:iconPadding="12dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toEndOf="@id/share_button_item_post_compact_right_thumbnail" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHorizontal_bias="1" - style="?attr/materialButtonOutlinedStyle" /> + style="?attr/materialIconButtonOutlinedStyle" /> </androidx.constraintlayout.widget.ConstraintLayout> |