修复编辑内容失效的问题

This commit is contained in:
HapeLee committed 2025-09-30 00:36:39 +08:00
1 parent d1417704e2
commit 82c2f187a5
2 files changed
+65 -24

No files matched your search

@@ -2,7 +2,7 @@
<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
@@ -11,17 +11,28 @@
android:layout_height="wrap_content"
android:theme="?attr/actionBarStyle"
app:title="edit"
app:layout_constraintTop_toTopOf="parent" />
<io.legato.kazusa.lib.theme.view.ThemeEditText
android:id="@+id/content_view"
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="12dp"
android:importantForAutofill="no"
app:layout_constraintTop_toBottomOf="@+id/tool_bar"
app:layout_constraintBottom_toBottomOf="parent" />
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/tool_bar">
<io.legato.kazusa.ui.widget.text.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
app:layout_constraintTop_toBottomOf="@+id/tool_bar">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/content_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:importantForAutofill="no"
/>
</io.legato.kazusa.ui.widget.text.TextInputLayout>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.loadingindicator.LoadingIndicator
android:id="@+id/rl_loading"