Android Question Designer controls issue

techknight

Well-Known Member
Licensed User
Longtime User
I have 3 EditText controls, and a Spinner in my layout. In the designer, they are transparent with an underline and show the text. Just as I like.

But when I compile the app and load the layout, the edittexts become black and opaque. the spinners become gray and opaque as well...

any ideas why that would be?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Make sure that android:targetSdkVersion is set to 14 in the manifest editor.

This is the default editor text:
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
<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")
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
Here is my manifest:

this did not work still, however, I didnt try adding the holo.light?

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" />
<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:largeHeap,"true")
'End of default text.
 
Upvote 0
Top