Use Theme_Material_Light_NoActionBar

pull/1727/head
takahirom 10 months ago
parent 07b5d45f17
commit 962f9fb848
No known key found for this signature in database
GPG Key ID: 74C748A90802F104

@ -28,7 +28,9 @@ import dagger.hilt.android.AndroidEntryPoint
class HiltComponentActivity : ComponentActivity() { class HiltComponentActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
setActionBar(null) // 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.
setTheme(android.R.style.Theme_Material_Light_NoActionBar)
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
} }
} }

Loading…
Cancel
Save