From 75417d96b932dc5da0b3457fa1bc663fa64034f7 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 29 十一月 2023 17:45:49 +0800
Subject: [PATCH] 修改权限逻辑,获取权限后再生成数据库 数据库保存在sd防止用户删除后没有数据了
---
app/src/main/res/layout/activity_write_text.xml | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/app/src/main/res/layout/activity_write_text.xml b/app/src/main/res/layout/activity_write_text.xml
index 9f14327..691da23 100644
--- a/app/src/main/res/layout/activity_write_text.xml
+++ b/app/src/main/res/layout/activity_write_text.xml
@@ -14,11 +14,22 @@
app:centerText="鍐欏崱"
app:leftImage="@mipmap/icon_back" />
+
+ <TextView
+ android:id="@+id/cardData"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/titleBar"
+ android:gravity="center"
+ android:layout_marginTop="20dp"
+ android:textSize="@dimen/text_size" />
+
+
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@id/titleBar"
+ android:layout_below="@id/cardData"
android:layout_marginTop="20dp"
android:gravity="center"
android:text="璇峰皢鍗¤创鍦ㄨ澶囦笂杩涜鍐欏崱"
--
Gitblit v1.8.0