Unify corner radius across all UI elements to Material Design 3 standard

This commit is contained in:
Алексей Будаев 2026-04-05 15:12:36 +08:00
parent d18d4d4de0
commit e98cd8b8e7
4 changed files with 5 additions and 5 deletions

View file

@ -2,5 +2,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" <shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"> android:shape="rectangle">
<solid android:color="#00000000"/> <solid android:color="#00000000"/>
<corners android:radius="20dp"/> <corners android:radius="12dp"/>
</shape> </shape>

View file

@ -86,8 +86,8 @@
android:id="@+id/inputCard" android:id="@+id/inputCard"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:cardCornerRadius="28dp" app:cardCornerRadius="16dp"
app:cardElevation="4dp"> app:cardElevation="2dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -29,6 +29,6 @@
<style name="AlertDialogShapeAppearance" parent=""> <style name="AlertDialogShapeAppearance" parent="">
<item name="cornerFamily">rounded</item> <item name="cornerFamily">rounded</item>
<item name="cornerSize">24dp</item> <item name="cornerSize">28dp</item>
</style> </style>
</resources> </resources>

View file

@ -29,6 +29,6 @@
<style name="AlertDialogShapeAppearance" parent=""> <style name="AlertDialogShapeAppearance" parent="">
<item name="cornerFamily">rounded</item> <item name="cornerFamily">rounded</item>
<item name="cornerSize">24dp</item> <item name="cornerSize">28dp</item>
</style> </style>
</resources> </resources>