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="词书管理" + /> +