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
     }
55
     }
56
 
56
 
57
     dependencies {
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
         implementation('com.amap.api:3dmap:9.1.0')
59
         implementation('com.amap.api:3dmap:9.1.0')
63
     }
60
     }
64
 
61
 

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

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

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

2
 <!-- Modify this file to customize your launch splash screen -->
2
 <!-- Modify this file to customize your launch splash screen -->
3
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4
     <item android:drawable="@android:color/white" />
4
     <item android:drawable="@android:color/white" />
5
-
6
     <!-- You can insert your own image images here -->
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
 </layer-list>
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
     <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
4
     <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5
         <!-- Show a splash screen on the activity. Automatically removed when
5
         <!-- Show a splash screen on the activity. Automatically removed when
6
              Flutter draws its first frame -->
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
     </style>
9
     </style>
9
     <!-- Theme applied to the Android Window as soon as the process has started.
10
     <!-- Theme applied to the Android Window as soon as the process has started.
10
          This theme determines the color of the Android Window while your
11
          This theme determines the color of the Android Window while your
14
          This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
          This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
     <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16
     <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16
         <item name="android:windowBackground">?android:colorBackground</item>
17
         <item name="android:windowBackground">?android:colorBackground</item>
18
+<!--        <item name="android:windowBackground">@drawable/launch_background</item>-->
17
     </style>
19
     </style>
18
 </resources>
20
 </resources>