Browse Source

Merge branch 'master' of http://git.ycjcjy.com/nanyang/farmer_client

[baozhangchao] 3 years ago
parent
commit
aa6b28c9e5

+ 1
- 4
android/app/build.gradle View File

@@ -55,10 +55,7 @@ android {
55 55
     }
56 56
 
57 57
     dependencies {
58
-//        implementation fileTree(dir: 'libs', include: ['*.jar'])
59
-//        implementation('com.amap.api:map2d:6.0.0')
60
-//        implementation('com.amap.api:search:9.2.0')
61
-//        implementation('com.amap.api:location:6.1.0')
58
+//        implementation 'com.google.android.material:material:1.5.0'
62 59
         implementation('com.amap.api:3dmap:9.1.0')
63 60
     }
64 61
 

+ 1
- 1
android/app/src/main/AndroidManifest.xml View File

@@ -25,7 +25,7 @@
25 25
     <!--允许读设备等信息,用于问题排查-->
26 26
     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
27 27
    <application
28
-        android:label="farmer_client"
28
+        android:label="农忙助手"
29 29
         android:name="${applicationName}"
30 30
         android:icon="@mipmap/ic_launcher">
31 31
         <activity

+ 5
- 6
android/app/src/main/res/drawable/launch_background.xml View File

@@ -2,11 +2,10 @@
2 2
 <!-- Modify this file to customize your launch splash screen -->
3 3
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4 4
     <item android:drawable="@android:color/white" />
5
-
6 5
     <!-- You can insert your own image images here -->
7
-    <!-- <item>
8
-        <bitmap
9
-            android:gravity="center"
10
-            android:src="@mipmap/launch_image" />
11
-    </item> -->
6
+<!--    <item>-->
7
+<!--        <bitmap-->
8
+<!--            android:gravity="fill"-->
9
+<!--            android:src="@drawable/launch_image" />-->
10
+<!--    </item>-->
12 11
 </layer-list>

BIN
android/app/src/main/res/drawable/launch_image.png View File


+ 3
- 1
android/app/src/main/res/values/styles.xml View File

@@ -4,7 +4,8 @@
4 4
     <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5 5
         <!-- Show a splash screen on the activity. Automatically removed when
6 6
              Flutter draws its first frame -->
7
-        <item name="android:windowBackground">@drawable/launch_background</item>
7
+<!--        <item name="android:windowBackground">@drawable/launch_image</item>-->
8
+        <item name="android:windowBackground">@drawable/launch_image</item>
8 9
     </style>
9 10
     <!-- Theme applied to the Android Window as soon as the process has started.
10 11
          This theme determines the color of the Android Window while your
@@ -14,5 +15,6 @@
14 15
          This Theme is only used starting with V2 of Flutter's Android embedding. -->
15 16
     <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16 17
         <item name="android:windowBackground">?android:colorBackground</item>
18
+<!--        <item name="android:windowBackground">@drawable/launch_background</item>-->
17 19
     </style>
18 20
 </resources>