From 802e4cc75af207c87f24a121d79dd1e459f9e657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 19 Jan 2024 14:48:17 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BE=9D=E5=AD=98=E9=96=A2=E4=BF=82?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/ui/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/ui/build.gradle b/shared/ui/build.gradle index 4ac5c270..a0f235d3 100644 --- a/shared/ui/build.gradle +++ b/shared/ui/build.gradle @@ -32,4 +32,6 @@ dependencies { testImplementation libs.junit androidTestImplementation libs.androidx.test.ext.junit androidTestImplementation libs.androidx.test.espresso.core + + implementation project(':shared:ui') } \ No newline at end of file From de9b68de8703576e890bb7c85e793822239e76bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 19 Jan 2024 14:50:20 +0900 Subject: [PATCH 2/4] =?UTF-8?q?Revert=20"=E4=BE=9D=E5=AD=98=E9=96=A2?= =?UTF-8?q?=E4=BF=82=E8=BF=BD=E5=8A=A0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 802e4cc75af207c87f24a121d79dd1e459f9e657. --- shared/ui/build.gradle | 2 -- 1 file changed, 2 deletions(-) diff --git a/shared/ui/build.gradle b/shared/ui/build.gradle index a0f235d3..4ac5c270 100644 --- a/shared/ui/build.gradle +++ b/shared/ui/build.gradle @@ -32,6 +32,4 @@ dependencies { testImplementation libs.junit androidTestImplementation libs.androidx.test.ext.junit androidTestImplementation libs.androidx.test.espresso.core - - implementation project(':shared:ui') } \ No newline at end of file From defc0514367142bdc0457620cdd0b1ff37c398c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 19 Jan 2024 14:56:44 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=E3=82=B7=E3=82=B9=E3=83=86=E3=83=A0?= =?UTF-8?q?=E3=83=8A=E3=83=93=E3=82=B2=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E8=83=8C=E6=99=AF=E3=82=92=E3=83=9C=E3=83=88=E3=83=A0?= =?UTF-8?q?=E3=83=8A=E3=83=93=E3=82=B2=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=81=A8=E5=90=8C=E3=81=98=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/one/nem/lacerta/MainActivity.java | 4 ++++ 1 file changed, 4 insertions(+) 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)); + } From def799bbe66f506520a4fdcf101d207bcc388f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 19 Jan 2024 15:01:20 +0900 Subject: [PATCH 4/4] =?UTF-8?q?API=E3=83=AC=E3=83=99=E3=83=AB27=E4=BB=A5?= =?UTF-8?q?=E4=B8=8A=E3=81=A7=E3=82=B7=E3=82=B9=E3=83=86=E3=83=A0=E3=83=8A?= =?UTF-8?q?=E3=83=93=E3=82=B2=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AE?= =?UTF-8?q?=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3=E8=89=B2=E3=82=92=E9=81=A9?= =?UTF-8?q?=E5=88=87=E3=81=AB=E5=A4=89=E6=9B=B4=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/values-night-v27/themes.xml | 35 +++++++++++++++++++ shared/ui/src/main/res/values-v27/themes.xml | 35 +++++++++++++++++++ shared/ui/src/main/res/values/themes.xml | 1 + 3 files changed, 71 insertions(+) create mode 100644 shared/ui/src/main/res/values-night-v27/themes.xml create mode 100644 shared/ui/src/main/res/values-v27/themes.xml 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