aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/item_post_compact.xml32
-rw-r--r--app/src/main/res/layout/item_post_compact_right_thumbnail.xml32
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>