diff options
Diffstat (limited to 'app/src/main/res/layout/drawer_account.xml')
-rw-r--r-- | app/src/main/res/layout/drawer_account.xml | 58 |
1 files changed, 34 insertions, 24 deletions
diff --git a/app/src/main/res/layout/drawer_account.xml b/app/src/main/res/layout/drawer_account.xml index 7e0c216e6..5dca860be 100644 --- a/app/src/main/res/layout/drawer_account.xml +++ b/app/src/main/res/layout/drawer_account.xml @@ -21,7 +21,7 @@ android:layout_height="wrap_content" android:layout_marginHorizontal="6dp" android:layout_marginTop="6dp" - app:cardElevation="0dp"> + app:cardElevation="1dp"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" @@ -86,39 +86,49 @@ <com.google.android.material.button.MaterialButton android:id="@+id/mute" - style="@style/Widget.Material3.Button.IconButton" - android:layout_width="36dp" - android:layout_height="36dp" - android:padding="6dp" + style="@style/Widget.Material3.Button.OutlinedButton.Icon" + android:layout_width="48dp" + android:layout_height="48dp" + android:padding="0dp" + app:iconGravity="textStart" + app:iconPadding="0dp" app:icon="@drawable/ic_baseline_volume_mute_24" app:strokeWidth="1dp" /> <com.google.android.material.button.MaterialButton android:id="@+id/mute_notification" - style="@style/Widget.Material3.Button.IconButton" - android:layout_width="36dp" - android:layout_height="36dp" - android:padding="6dp" - app:icon="@drawable/ic_baseline_notifications_off_24" /> + style="@style/Widget.Material3.Button.OutlinedButton" + android:layout_width="48dp" + android:layout_height="48dp" + android:padding="0dp" + app:icon="@drawable/ic_baseline_notifications_off_24" + app:iconGravity="textStart" + app:iconPadding="0dp" + app:strokeWidth="1dp" /> <com.google.android.material.button.MaterialButton android:id="@+id/mute_timed" - style="@style/Widget.Material3.Button.IconButton" - android:layout_width="36dp" - android:layout_height="36dp" - android:padding="6dp" - app:icon="@drawable/ic_baseline_access_time_filled_24" /> + style="@style/Widget.Material3.Button.OutlinedButton" + android:layout_width="48dp" + android:layout_height="48dp" + android:padding="0dp" + app:icon="@drawable/ic_baseline_access_time_filled_24" + app:iconGravity="textStart" + app:iconPadding="0dp" + app:strokeWidth="1dp" /> </com.google.android.material.button.MaterialButtonToggleGroup> <com.google.android.material.button.MaterialButton android:id="@+id/block" - style="@style/Widget.Material3.Button.IconButton" - android:layout_width="36dp" - android:layout_height="36dp" + style="@style/Widget.Material3.Button.OutlinedButton" + android:layout_width="48dp" + android:layout_height="48dp" android:layout_marginStart="24dp" android:layout_marginTop="6dp" - android:padding="6dp" + android:padding="0dp" + app:iconGravity="textStart" + app:iconPadding="0dp" app:icon="@drawable/ic_baseline_block_24" app:layout_constraintStart_toEndOf="@id/mute_group" app:layout_constraintTop_toBottomOf="@id/bio" /> @@ -126,13 +136,13 @@ <com.google.android.material.button.MaterialButton android:id="@+id/follow_action" style="@style/Widget.Material3.Button" - android:layout_width="36dp" - android:layout_height="36dp" + android:layout_width="48dp" + android:layout_height="48dp" android:layout_marginStart="12dp" android:layout_marginTop="6dp" - android:insetTop="0dp" - android:insetBottom="0dp" - android:padding="6dp" + android:padding="0dp" + app:iconGravity="textStart" + app:iconPadding="0dp" app:icon="@drawable/ic_baseline_person_add_24" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/bio" /> |