SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#FF231F1F</color>
<color name="statusbar">#FF231F1F</color>
<color name="textColorPrimary">#ffffffff</color>
<color name="navigationBar">#FF231F1F</color>
</resources>
)
CreateResource(values, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Material.Light">
<item name="android:colorPrimary">@color/actionbar</item>
<item name="android:colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
</style>
</resources>
)
I want to change it to dark theme. Is this correct?
<style name="LightTheme" parent="@android:style/Theme.Material">
It did not crash. Just wondering if the manifest is correct by removing .Light? Thanks