Improve some UIs

This commit is contained in:
2026-07-12 17:37:18 +02:00
parent fafa1b4e8b
commit 4480366ffc
3 changed files with 42 additions and 40 deletions
+36 -27
View File
@@ -1,51 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#000000"
android:padding="24dp">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#000000"
android:padding="24dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="New style"
android:textSize="20sp"
android:textColor="#FFFFFF" />
android:textColor="#FFFFFF"
android:textSize="22sp"
android:textStyle="bold" />
<View
android:id="@+id/headerDivider"
<Space
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="16dp"
android:background="#FFFFFF" />
android:layout_height="6dp" />
<Button
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonFromBuiltInStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_height="56dp"
android:text="From built-in style"
android:textAllCaps="false"
android:textColor="#FFFFFF"
android:backgroundTint="#333333" />
app:backgroundTint="#1A1A1A"
app:cornerRadius="24dp" />
<Button
<Space
android:layout_width="match_parent"
android:layout_height="4dp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonFromFile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:layout_height="56dp"
android:text="From file"
android:textAllCaps="false"
android:textColor="#FFFFFF"
android:backgroundTint="#333333" />
app:backgroundTint="#1A1A1A"
app:cornerRadius="24dp" />
<Button
<Space
android:layout_width="match_parent"
android:layout_height="4dp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonCreateEmpty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:layout_height="56dp"
android:text="Create empty"
android:textAllCaps="false"
android:textColor="#FFFFFF"
android:backgroundTint="#333333" />
app:backgroundTint="#1A1A1A"
app:cornerRadius="24dp" />
</LinearLayout>