From 7b4757491c7a146883f64565717c113a4ed1c1ba Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 17 Dec 2023 22:13:35 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=83=86=E3=82=B9=E3=83=88"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c5c176808304a31055e6506ab994543dc198cd2d. --- app/src/main/java/one/nem/lacerta/MainActivity.java | 4 ++-- app/src/main/res/layout/activity_main.xml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/one/nem/lacerta/MainActivity.java b/app/src/main/java/one/nem/lacerta/MainActivity.java index e3f8087b..404debd0 100644 --- a/app/src/main/java/one/nem/lacerta/MainActivity.java +++ b/app/src/main/java/one/nem/lacerta/MainActivity.java @@ -10,7 +10,8 @@ import android.os.Bundle; import android.widget.Toast; import com.google.android.material.bottomnavigation.BottomNavigationView; -import com.google.android.material.color.DynamicColors; + + import dagger.hilt.android.AndroidEntryPoint; @@ -22,7 +23,6 @@ public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - // DynamicColorを有効化 setContentView(R.layout.activity_main); // Debug diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4c4fa3a1..0d575ad0 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -4,6 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + android:theme="@style/Theme.Lacerta" tools:context=".MainActivity">