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">