更新界面

This commit is contained in:
HapeLee committed 2025-09-22 01:14:28 +08:00
1 parent f123ef2eaa
commit 58e0f51c3e
26 files changed
+185 -532

No files matched your search

+6 -19
View File
@@ -2,7 +2,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/refresh_layout"
@@ -17,27 +18,13 @@
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<LinearLayout
android:id="@+id/tv_empty_msg"
<io.legato.kazusa.ui.widget.EmptyMessageView
android:id="@+id/emptyView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:orientation="vertical"
android:visibility="visible"
android:layout_gravity="center"
android:layout_margin="16dp"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="(๑`^´๑)"
android:textSize="32sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/bookshelf_empty" />
</LinearLayout>
app:messageText="@string/bookshelf_empty"/>
</FrameLayout>