Hi,
When my app loads (Main Activity) it shows a blank activity for approx. 0.5ms and then the layout loads.
My layout doesn't have much on it, other than a few EditText boxes and a few labels.
I have my manifest with the following:
By adding that last line it made it hide the title bar (which is what I want).
in my Activity_Create sub (the first line in that sub) I have:
Which should set the activity back colour to a blue colour.
However, when my app loads it shows a light grey background and not a blue background while the app loads the layout.
Is there something I have done wrong ?
When my app loads (Main Activity) it shows a blank activity for approx. 0.5ms and then the layout loads.
My layout doesn't have much on it, other than a few EditText boxes and a few labels.
I have my manifest with the following:
B4X:
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light.NoActionBar")
By adding that last line it made it hide the title bar (which is what I want).
in my Activity_Create sub (the first line in that sub) I have:
B4X:
Activity.Color = Colors.RGB(0,85,167)
Which should set the activity back colour to a blue colour.
However, when my app loads it shows a light grey background and not a blue background while the app loads the layout.
Is there something I have done wrong ?