Skip to content

Commit d2532bd

Browse files
committed
feat(ui): update app icon styling and splash screen assets
- Add background color and padding to the profile image in `HomeRoot.kt` - Update `ic_launcher_background` color to `#121212` - Reduce splash screen icon inset from 48dp to 32dp - Update `app_icon.png` resource
1 parent d9a96a3 commit d2532bd

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<inset xmlns:android="http://schemas.android.com/apk/res/android"
33
android:drawable="@drawable/ic_logo"
4-
android:inset="48dp"
4+
android:inset="32dp"
55
/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="ic_launcher_background">#1C1B1B</color>
3+
<color name="ic_launcher_background">#121212</color>
44
</resources>
-116 KB
Loading

feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeRoot.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package zed.rainxch.home.presentation
22

33
import androidx.compose.foundation.Image
4+
import androidx.compose.foundation.background
45
import androidx.compose.foundation.layout.Arrangement
56
import androidx.compose.foundation.layout.Box
67
import androidx.compose.foundation.layout.Column
@@ -38,6 +39,7 @@ import androidx.compose.runtime.rememberUpdatedState
3839
import androidx.compose.ui.Alignment
3940
import androidx.compose.ui.Modifier
4041
import androidx.compose.ui.draw.clip
42+
import androidx.compose.ui.graphics.Color
4143
import androidx.compose.ui.layout.ContentScale
4244
import androidx.compose.ui.text.font.FontWeight
4345
import androidx.compose.ui.text.style.TextAlign
@@ -352,7 +354,9 @@ private fun TopAppBar() {
352354
contentDescription = null,
353355
modifier = Modifier
354356
.size(48.dp)
355-
.clip(CircleShape),
357+
.clip(CircleShape)
358+
.background(Color(0xff121212))
359+
.padding(4.dp),
356360
contentScale = ContentScale.Crop
357361
)
358362
},

0 commit comments

Comments
 (0)