feat: home

This commit is contained in:
2025-11-18 15:24:16 +08:00
parent e5d17bc970
commit 699bc11c25
27 changed files with 671 additions and 30 deletions
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/parent"
android:layout_width="50.dp"
android:layout_height="75.dp"
android:layout_marginEnd="10.dp"
android:background="@drawable/bg_home_menu"
android:focusable="true"
android:stateListAnimator="@animator/focus_animator">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:textSize="10.sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="@string/home_menu_setting" />
</androidx.constraintlayout.widget.ConstraintLayout>