Hi so i've been using this piece of code in my manifest:
And i was wondering is there some kind of
line I could use to set the default background of the activity.
Thanks in advance.
B4X:
SetApplicationAttribute(android:theme, "@style/Theme.AppCompat")
SetApplicationAttribute(android:theme, "@style/my_blue_theme")
'================= Appcompat library App colors can be set here =============
CreateResource(values, theme.xml,
<resources>
<style name="my_blue_theme" parent="@style/Theme.AppCompat">
<item name="colorPrimary"> #22428f </item>
<item name="colorPrimaryDark"> #11317D </item>
<item name="colorAccent"> #22428f </item>
</style>
</resources>)
B4X:
<item name="background"> #000000 </item>"
Thanks in advance.