diff --git a/app/src/main/java/one/nem/lacerta/MainActivity.java b/app/src/main/java/one/nem/lacerta/MainActivity.java index 283e0e12..d89e0ce3 100644 --- a/app/src/main/java/one/nem/lacerta/MainActivity.java +++ b/app/src/main/java/one/nem/lacerta/MainActivity.java @@ -1,11 +1,13 @@ package one.nem.lacerta; import androidx.appcompat.app.AppCompatActivity; +import androidx.core.content.ContextCompat; import androidx.fragment.app.FragmentManager; import androidx.navigation.NavController; import androidx.navigation.fragment.NavHostFragment; import androidx.navigation.ui.NavigationUI; +import android.graphics.Color; import android.os.Bundle; import android.widget.Toast; @@ -36,6 +38,8 @@ public class MainActivity extends AppCompatActivity { Toast.makeText(this, "testMessage", Toast.LENGTH_SHORT).show(); + getWindow().setNavigationBarColor(ContextCompat.getColor(this, one.nem.lacerta.shared.ui.R.color.colorSurfaceVariant)); + } diff --git a/shared/ui/src/main/res/values-night-v27/themes.xml b/shared/ui/src/main/res/values-night-v27/themes.xml new file mode 100644 index 00000000..c6797497 --- /dev/null +++ b/shared/ui/src/main/res/values-night-v27/themes.xml @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/shared/ui/src/main/res/values-v27/themes.xml b/shared/ui/src/main/res/values-v27/themes.xml new file mode 100644 index 00000000..f7a979fc --- /dev/null +++ b/shared/ui/src/main/res/values-v27/themes.xml @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/shared/ui/src/main/res/values/themes.xml b/shared/ui/src/main/res/values/themes.xml index 9badb88a..68fccb6e 100644 --- a/shared/ui/src/main/res/values/themes.xml +++ b/shared/ui/src/main/res/values/themes.xml @@ -28,6 +28,7 @@ @color/colorOutline @color/colorOnBackground + true