improve mute/subscribe buttons in AccountActivity

This commit is contained in:
Conny Duck 2024-11-15 13:58:36 +01:00
parent dad57b074b
commit 2f278a3d25
No known key found for this signature in database
2 changed files with 10 additions and 9 deletions

View File

@ -46,6 +46,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="180dp" android:layout_marginTop="180dp"
android:background="?attr/colorSurface"
android:paddingStart="16dp" android:paddingStart="16dp"
android:paddingEnd="16dp"> android:paddingEnd="16dp">
@ -80,11 +81,11 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:minWidth="0dp" android:minWidth="36dp"
android:paddingStart="8dp" android:paddingStart="12dp"
android:paddingEnd="4dp" android:paddingEnd="12dp"
android:scaleType="centerInside"
app:icon="@drawable/ic_notifications_24dp" app:icon="@drawable/ic_notifications_24dp"
app:iconPadding="0dp"
app:layout_constrainedHeight="true" app:layout_constrainedHeight="true"
app:layout_constraintBottom_toBottomOf="@+id/accountFollowButton" app:layout_constraintBottom_toBottomOf="@+id/accountFollowButton"
app:layout_constraintEnd_toStartOf="@id/accountFollowButton" app:layout_constraintEnd_toStartOf="@id/accountFollowButton"
@ -100,11 +101,11 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:minWidth="0dp" android:minWidth="36dp"
android:paddingStart="8dp" android:paddingStart="12dp"
android:paddingEnd="8dp" android:paddingEnd="12dp"
android:scaleType="centerInside"
app:icon="@drawable/ic_unmute_24dp" app:icon="@drawable/ic_unmute_24dp"
app:iconPadding="0dp"
app:layout_constrainedHeight="true" app:layout_constrainedHeight="true"
app:layout_constraintBottom_toBottomOf="@+id/accountFollowButton" app:layout_constraintBottom_toBottomOf="@+id/accountFollowButton"
app:layout_constraintEnd_toStartOf="@id/accountSubscribeButton" app:layout_constraintEnd_toStartOf="@id/accountSubscribeButton"

View File

@ -19,7 +19,7 @@
<color name="iconColor">@color/tusky_grey_70</color> <color name="iconColor">@color/tusky_grey_70</color>
<color name="colorBackgroundAccent">@color/tusky_grey_30</color> <color name="colorBackgroundAccent">@color/tusky_grey_40</color>
<color name="colorBackgroundHighlight">@color/tusky_grey_50</color> <color name="colorBackgroundHighlight">@color/tusky_grey_50</color>
<color name="dividerColor">@color/tusky_grey_40</color> <color name="dividerColor">@color/tusky_grey_40</color>
<color name="dividerColorOther">@color/tusky_grey_10</color> <color name="dividerColorOther">@color/tusky_grey_10</color>