|
|
@@ -18,19 +18,30 @@ |
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
|
|
|
|
|
|
|
<!-- android:icon 、 android:roundIcon 是APP显示图标--> |
|
|
|
<!-- |
|
|
|
APP_NAME占位符: |
|
|
|
可以在 /gradle.properties 里配置 appName="自定义名称", 必须携带双引号; 或appName=@string/app_name, 使用国际化文件字符串资源时不要携带双引号 |
|
|
|
也可以在命令行添加 -PappName="自定义名称", 必须携带双引号; 不支持国际化文件字符串资源 |
|
|
|
APP_ICON占位符: |
|
|
|
APP_ROUND_ICON占位符: |
|
|
|
可以在 /gradle.properties 里配置 appIconKey=图标类型, 不要携带双引号 |
|
|
|
也可以在命令行添加 -PappIconKey=图标类型, 不要携带双引号 |
|
|
|
APP_ICON拼接为 @mipmap/ic_launcher_${APP_ICON} |
|
|
|
APP_ROUND_ICON拼接为 @mipmap/ic_launcher_${APP_ICON}_round |
|
|
|
--> |
|
|
|
<application |
|
|
|
android:requestLegacyExternalStorage="true" |
|
|
|
android:allowBackup="true" |
|
|
|
android:icon="@mipmap/ic_launcher_yhzl" |
|
|
|
android:roundIcon="@mipmap/ic_launcher_yhzl_round" |
|
|
|
android:label="@string/app_name" |
|
|
|
android:icon="${APP_ICON}" |
|
|
|
android:roundIcon="${APP_ROUND_ICON}" |
|
|
|
android:label="${APP_NAME}" |
|
|
|
android:supportsRtl="true" |
|
|
|
android:usesCleartextTraffic="true" |
|
|
|
android:theme="@style/Theme.Nsgk_rural_web"> |
|
|
|
<activity |
|
|
|
android:name=".WelcomeActivity" |
|
|
|
android:configChanges="orientation|keyboardHidden|screenSize|layoutDirection|uiMode" |
|
|
|
android:label="@string/app_name" |
|
|
|
android:label="${APP_NAME}" |
|
|
|
android:theme="@style/Theme.Nsgk_rural_web.Fullscreen"> |
|
|
|
<intent-filter> |
|
|
|
<action android:name="android.intent.action.MAIN" /> |
|
|
|