Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
update app icon color (for new SplashScreen)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiesou committed Jun 30, 2024
1 parent 4b3a77c commit d2f79c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/top/jiecs/screener/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class MainActivity : AppCompatActivity(),

override fun onCreate(savedInstanceState: Bundle?) {
enableEdgeToEdge()
window.isNavigationBarContrastEnforced = false
super.onCreate(savedInstanceState)

binding = ActivityMainBinding.inflate(layoutInflater)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:fillColor="#FFFFFFFF"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:tint="#FFFFFF"
android:tint="#000000"
android:viewportWidth="24"
android:viewportHeight="24">
<group
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?attr/actionBarSize">
app:layout_behavior="@string/appbar_scrolling_view_behavior">

<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/nav_view"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3DDC84</color>
<color name="ic_launcher_background">#FFFFFFFF</color>
</resources>

0 comments on commit d2f79c1

Please sign in to comment.