Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Add no actionbar theme to hilt

takahirom86e38418d5f2
diff --git a/ui-test-hilt-manifest/src/main/AndroidManifest.xml b/ui-test-hilt-manifest/src/main/AndroidManifest.xml
index 8fbb1c299..d35bfe1e2 100644
--- a/ui-test-hilt-manifest/src/main/AndroidManifest.xml
+++ b/ui-test-hilt-manifest/src/main/AndroidManifest.xml
@@ -17,7 +17,14 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
- <activity android:name=".HiltComponentActivity" />
+ <!--
+ Use a no-action-bar theme to prevent overlapping with the action bar during tests.
+ Theme_Material_Light_NoActionBar is the base theme used by the production app.
+ -->
+ <activity
+ android:theme="@android:style/Theme.Material.Light.NoActionBar"
+ android:name=".HiltComponentActivity"
+ />
</application>
</manifest>
\ No newline at end of file