app icon adjustment

This commit is contained in:
tapframe 2026-04-05 15:22:32 +05:30
parent fc4b86162b
commit 16b5de57ea
25 changed files with 55 additions and 10 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ logs/
Docs
keystore/
scripts/build-distribution.sh
asset

View file

@ -200,6 +200,7 @@ kotlin {
androidMain.dependencies {
implementation(libs.compose.uiToolingPreview)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.work.runtime)
implementation("androidx.recyclerview:recyclerview:1.4.0")
implementation("com.squareup.okhttp3:okhttp:4.12.0")

View file

@ -13,7 +13,8 @@
android:theme="@style/Theme.Nuvio">
<activity
android:exported="true"
android:name=".MainActivity">
android:name=".MainActivity"
android:theme="@style/Theme.Nuvio.Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View file

@ -6,6 +6,7 @@ import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.SystemBarStyle
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.core.view.WindowCompat
import com.nuvio.app.core.auth.AuthStorage
import com.nuvio.app.core.deeplink.handleAppUrl
@ -33,6 +34,7 @@ import com.nuvio.app.features.watchprogress.WatchProgressStorage
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
installSplashScreen()
enableEdgeToEdge(
navigationBarStyle = SystemBarStyle.dark(
scrim = 0xFF020404.toInt(),

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Nuvio" parent="@android:style/Theme.Material.NoActionBar">
<item name="android:windowBackground">@color/nuvio_background</item>
<item name="android:navigationBarColor">@color/nuvio_background</item>
<item name="android:windowLightNavigationBar">false</item>
</style>
<style name="Theme.Nuvio.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/nuvio_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_logo</item>
<item name="postSplashScreenTheme">@style/Theme.Nuvio</item>
</style>
</resources>

View file

@ -5,4 +5,6 @@
<item name="android:navigationBarColor">@color/nuvio_background</item>
<item name="android:windowLightNavigationBar">false</item>
</style>
<style name="Theme.Nuvio.Splash" parent="@style/Theme.Nuvio" />
</resources>

View file

@ -7,6 +7,7 @@ androidx-activity = "1.12.2"
androidx-navigation = "2.9.0"
androidx-appcompat = "1.7.1"
androidx-core = "1.17.0"
androidx-core-splashscreen = "1.0.1"
androidx-espresso = "3.7.0"
androidx-lifecycle = "2.9.6"
androidx-work = "2.10.3"
@ -30,6 +31,7 @@ kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotl
kotlin-testJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
junit = { module = "junit:junit", version.ref = "junit" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "androidx-core-splashscreen" }
androidx-testExt-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-testExt" }
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-espresso" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }

View file

@ -1,2 +1,2 @@
CURRENT_PROJECT_VERSION=2
MARKETING_VERSION=0.1.0-beta
CURRENT_PROJECT_VERSION=4
MARKETING_VERSION=0.1.0-alpha04

View file

@ -17,7 +17,7 @@ IOS_PREFERRED_DEVICE_MODEL="iPhone 14 Pro"
usage() {
cat <<'EOF'
Usage:
./scripts/run-mobile.sh android
./scripts/run-mobile.sh android [full|playstore]
./scripts/run-mobile.sh ios s
./scripts/run-mobile.sh ios p
@ -90,6 +90,18 @@ if physical:
}
run_android() {
local flavor="${1:-full}"
case "$flavor" in
full|playstore)
;;
*)
echo "Unknown Android flavor: $flavor" >&2
echo "Expected one of: full, playstore" >&2
exit 1
;;
esac
require_command adb
require_command emulator
@ -140,11 +152,21 @@ run_android() {
wait_for_android_emulator "$serial"
done
echo "Building Android debug APK..."
"$GRADLEW" :composeApp:assembleDebug
local flavor_task_part
local apk_path
apk_path="$ROOT_DIR/composeApp/build/outputs/apk/debug/composeApp-debug.apk"
case "$flavor" in
full)
flavor_task_part="Full"
apk_path="$ROOT_DIR/composeApp/build/outputs/apk/full/debug/composeApp-full-debug.apk"
;;
playstore)
flavor_task_part="Playstore"
apk_path="$ROOT_DIR/composeApp/build/outputs/apk/playstore/debug/composeApp-playstore-debug.apk"
;;
esac
echo "Building Android $flavor debug APK..."
"$GRADLEW" ":composeApp:assemble${flavor_task_part}Debug"
if [[ ! -f "$apk_path" ]]; then
echo "Expected APK not found at: $apk_path" >&2
@ -243,11 +265,11 @@ main() {
case "$1" in
android)
if [[ $# -ne 1 ]]; then
if [[ $# -gt 2 ]]; then
usage
exit 1
fi
run_android
run_android "${2:-full}"
;;
ios)
if [[ $# -ne 2 ]]; then