This commit is contained in:
ocean 2024-06-05 18:25:46 +08:00
parent 7562a5b503
commit 49988575b7
9 changed files with 39 additions and 43 deletions

View File

@ -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

View File

@ -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">

View File

@ -23,7 +23,7 @@ class SplashActivity : BaseActivity() {
private fun initImmersionBar() { private fun initImmersionBar() {
immersionBar { immersionBar {
statusBarDarkFont(true) statusBarDarkFont(false)
fullScreen(true) fullScreen(true)
} }
} }

View File

@ -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"

View File

@ -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">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@mipmap/splash_bg" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="32dp"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">
<androidx.cardview.widget.CardView <ImageView
android:layout_width="80dp" android:layout_width="match_parent"
android:layout_height="80dp" android:layout_marginStart="16dp"
android:backgroundTint="@color/blue" android:layout_marginEnd="16dp"
app:cardCornerRadius="12dp"> android:layout_marginBottom="8dp"
android:layout_height="56dp"
android:src="@mipmap/app_name_bg"/>
<ImageView <ProgressBar
android:layout_width="match_parent" android:layout_width="32dp"
android:layout_height="match_parent" android:layout_height="32dp"
android:src="@mipmap/ic_launcher" /> android:indeterminateTint="@color/white"
</androidx.cardview.widget.CardView> android:progressBackgroundTint="@color/white"
android:progressTint="@color/white" />
<TextView <TextView
android:layout_width="260dp" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="32dp" android:layout_marginTop="8dp"
android:layout_marginBottom="60dp" android:text="@string/resource_loading"
android:gravity="center" android:textColor="#CCFFFFFF"
android:lineSpacingExtra="20dp" android:textSize="16dp" />
android:lineSpacingMultiplier="0.6"
android:text="@string/app_name"
android:textColor="@color/blue"
android:textSize="26sp"
android:textStyle="bold" />
</LinearLayout> </LinearLayout>
</RelativeLayout>
<ProgressBar
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_gravity="center_horizontal|bottom"
android:layout_marginBottom="110dp"
android:indeterminateTint="@color/blue"
android:visibility="visible" />
</FrameLayout>

View File

@ -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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB