From e8e304c98dea8f021b68627253b3515b43b5056b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8B=87=E6=95=A2di=E7=89=9B=E7=89=9B?=
<1018389619.@qq.com>
Date: Sat, 14 May 2022 23:47:13 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E9=83=A8=E5=88=86=E7=9A=84UI?=
=?UTF-8?q?=E5=BC=80=E5=8F=91=EF=BC=8C=20=E8=A7=A3=E6=9E=90Json=20?=
=?UTF-8?q?=E5=AD=98=E5=82=A8=E5=88=B0=E6=95=B0=E6=8D=AE=E5=BA=93=20?=
=?UTF-8?q?=E5=8D=95=E8=AF=8D=E8=83=8C=E8=AF=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/misc.xml | 11 ++++-
app/build.gradle | 5 ++-
app/src/main/AndroidManifest.xml | 18 ++++++++-
.../com/example/testapp/MainActivity.java | 7 ++++
.../example/testapp/ui/home/HomeFragment.java | 15 +++++--
app/src/main/res/layout/activity_main.xml | 8 ++--
app/src/main/res/layout/fragment_home.xml | 33 ++++++++-------
app/src/main/res/values/colors.xml | 40 +++++++++++++++++++
app/src/main/res/values/strings.xml | 2 +
9 files changed, 114 insertions(+), 25 deletions(-)
diff --git a/.idea/misc.xml b/.idea/misc.xml
index cfbc531..1caa6c1 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -30,22 +30,31 @@
+
+
+
+
+
-
+
+
+
+
+
diff --git a/app/build.gradle b/app/build.gradle
index 79cfe2d..403d348 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -32,8 +32,11 @@ android {
dependencies {
-
+ implementation 'com.squareup.okhttp3:okhttp:3.4.1'
+ implementation 'com.google.code.gson:gson:2.8.6'
+ implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.github.bumptech.glide:glide:4.13.1'
+ implementation files('libs\\litepal-2.0.0.jar')
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.1'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index d10e0d6..671cd6e 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -7,6 +7,7 @@
+
+
+
+ android:label="翻译" />
+
+
+ android:shadowColor="@color/edit_shadow"
+ android:textColor="@color/black"
+ android:textColorHint="@color/edit_hint" />
-
-
-
\ No newline at end of file
+ android:text="词书管理"
+ />
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 7de3bce..dfeb0ce 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -10,6 +10,7 @@
#3FA162
#0079FF
#F44336
+ #FF3A35
#80343965
#001DB0
#00F2E9E9
@@ -17,5 +18,44 @@
#1296db
#F6F6F6
#0FF6F6F6
+ #E6041717
+ #091630
+ #3675FF
+ #00574B
+ #4089ff
+ #3675FF
+ #4089ff
+ #3E6AB1
+ #EBF1FD
+ #888C95
+ #00BECE
+ #CF4642
+ #FBECEE
+ #9F9596
+ #FFBC00
+ #333944
+ #7C7C7C
+ #333944
+ #2C3039
+ #000000
+ #000000
+ #626873
+ #8994A9
+ #FBB692
+ #F2F3F8
+ #F2F3F8
+ #3c3c3c
+ #FBFBFD
+ #424242
+ #EAEAEA
+ #ffffff
+ #FFFFFF
+ #FFFFFF
+ #090909
+ #ffffff
+ #FFFFFF
+ #424242
+ #FBFBFD
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 71048ff..40a0f1a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -21,5 +21,7 @@
源自翻译API,翻译结果仅供参考
输入您需要翻译的段落,并选择”汉译英“或”英译汉“
段落翻译
+ 词书管理
+ 下载词书
\ No newline at end of file
--
GitLab