Controls not visible in Android 4.xx

Jopapa

Member
Licensed User
Longtime User
help
When I program for Android 2.2 controls are visible
When is Android 4.0 does not. Neither in emulator or phone.
I have installed Android SDK 2.2 and 4.XX
Last version of JAVA
I'm desperate
thanks
Jopapa


320x480.jpg

Android 2.2 320x480 Visible

480x800.jpg

Android 4.xx 480x800 No visible
 

NJDude

Expert
Licensed User
Longtime User
That's the "Holo Theme" which is the default theme on SDK 11+, they are visible, they just look different.

If you don't like that look, then open your manifest using the manifest editor on the IDE and change this line:

From:
B4X:
AddManifestText(<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11"/>
...
To:
B4X:
AddManifestText(<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"/>
...
 
Last edited:
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
That's the "Holo Theme" which is the default theme on SDK 11+, they are visible, they just look different.

If you don't like that look, then open your manifest using the manifest editor on the IDE and change this line:

It's unfortunate that we can't change the theme without changing so much like this. For example, isn't hardware acceleration disabled when not targeting API>=14?

Though I think it can be manually reenabled.
 
Upvote 0
Top