[Bugs] ICS Style don't work

sioconcept

Active Member
Licensed User
Longtime User
Hi :)

I've a problem with ICS style. If i don't use
B4X:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14" />
, the theme is the old theme. :BangHead:. I've try with Holo.Light / Holo.Dark / Holo, i've always the old theme.

I use my application on a device with android 4.1.2 (Galaxy Tab 2 7").

This is the manifest and many report's error when i change.

B4X:
AddManifestText(
<uses-sdk
   android:minSdkVersion="4" android:targetSdkVersion="14" />
<supports-screens 
   android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="false"
    android:anyDensity="true" />
<permission
   android:name="$PACKAGE$.permission.MAPS_RECEIVE"
   android:protectionLevel="signature"/>
<uses-feature
   android:glEsVersion="0x00020000" android:required="true" />
<meta-data
    android:name="com.google.android.maps.v2.API_KEY"
    android:value="--------------------------------"/>)

SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

B4X:
Generating R file.                      Error
AndroidManifest.xml:35: error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/Theme.Holo').

Someone see the problem ? Thanks
 
Top