update
This commit is contained in:
parent
7562a5b503
commit
49988575b7
@ -25,10 +25,10 @@ android {
|
|||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
debug {
|
// debug {
|
||||||
isMinifyEnabled = true
|
// isMinifyEnabled = true
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
// proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||||
android:fullBackupContent="@xml/backup_rules"
|
android:fullBackupContent="@xml/backup_rules"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/app_logo"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/app_logo"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.NoiseTimber"
|
android:theme="@style/Theme.NoiseTimber"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class SplashActivity : BaseActivity() {
|
|||||||
|
|
||||||
private fun initImmersionBar() {
|
private fun initImmersionBar() {
|
||||||
immersionBar {
|
immersionBar {
|
||||||
statusBarDarkFont(true)
|
statusBarDarkFont(false)
|
||||||
fullScreen(true)
|
fullScreen(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
android:layout_height="80dp"
|
android:layout_height="80dp"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:src="@mipmap/ic_launcher" />
|
android:src="@mipmap/app_logo" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@ -1,50 +1,46 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/white"
|
|
||||||
tools:context=".ui.activity.SplashActivity">
|
tools:context=".ui.activity.SplashActivity">
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<androidx.cardview.widget.CardView
|
|
||||||
android:layout_width="80dp"
|
|
||||||
android:layout_height="80dp"
|
|
||||||
android:backgroundTint="@color/blue"
|
|
||||||
app:cardCornerRadius="12dp">
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:src="@mipmap/ic_launcher" />
|
android:scaleType="centerCrop"
|
||||||
</androidx.cardview.widget.CardView>
|
android:src="@mipmap/splash_bg" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="260dp"
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginBottom="60dp"
|
android:layout_marginBottom="32dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:lineSpacingExtra="20dp"
|
android:orientation="vertical">
|
||||||
android:lineSpacingMultiplier="0.6"
|
|
||||||
android:text="@string/app_name"
|
<ImageView
|
||||||
android:textColor="@color/blue"
|
android:layout_width="match_parent"
|
||||||
android:textSize="26sp"
|
android:layout_marginStart="16dp"
|
||||||
android:textStyle="bold" />
|
android:layout_marginEnd="16dp"
|
||||||
</LinearLayout>
|
android:layout_marginBottom="8dp"
|
||||||
|
android:layout_height="56dp"
|
||||||
|
android:src="@mipmap/app_name_bg"/>
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:layout_width="42dp"
|
android:layout_width="32dp"
|
||||||
android:layout_height="42dp"
|
android:layout_height="32dp"
|
||||||
android:layout_gravity="center_horizontal|bottom"
|
android:indeterminateTint="@color/white"
|
||||||
android:layout_marginBottom="110dp"
|
android:progressBackgroundTint="@color/white"
|
||||||
android:indeterminateTint="@color/blue"
|
android:progressTint="@color/white" />
|
||||||
android:visibility="visible" />
|
|
||||||
|
|
||||||
</FrameLayout>
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:text="@string/resource_loading"
|
||||||
|
android:textColor="#CCFFFFFF"
|
||||||
|
android:textSize="16dp" />
|
||||||
|
</LinearLayout>
|
||||||
|
</RelativeLayout>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:src="@mipmap/ic_launcher" />
|
android:src="@mipmap/app_logo" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
BIN
app/src/main/res/mipmap-xxhdpi/app_logo.jpg
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/app_logo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/app_name_bg.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/app_name_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/splash_bg.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/splash_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 651 KiB |
Loading…
Reference in New Issue
Block a user