Douglas Farias Expert Licensed User Longtime User Aug 26, 2014 #1 Hi i dont find the correct information at google what the minimal api to theme SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light") ? 11 or 14? and on my manifest its correct use <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"/> if is 11 the minimal xD
Hi i dont find the correct information at google what the minimal api to theme SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light") ? 11 or 14? and on my manifest its correct use <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"/> if is 11 the minimal xD
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2014 #2 See the list of versions: https://developer.android.com/about/dashboards/index.html You can ignore API level 11 and 12 (Honeycomb). Upvote 0
See the list of versions: https://developer.android.com/about/dashboards/index.html You can ignore API level 11 and 12 (Honeycomb).
Douglas Farias Expert Licensed User Longtime User Aug 26, 2014 #3 hmm but what the minimal version to holo.light minSdkVersion="14"? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2014 #4 It will work even if the theme doesn't exist so there isn't really any minimum version. The holo theme was added in Android 4 (api 14). Upvote 0
It will work even if the theme doesn't exist so there isn't really any minimum version. The holo theme was added in Android 4 (api 14).
barx Well-Known Member Licensed User Longtime User Aug 26, 2014 #6 Erel said: It will work even if the theme doesn't exist so there isn't really any minimum version. The holo theme was added in Android 4 (api 14). Click to expand... are you sure about this? I used to get an error if I tried to set theme as holo on older devices. Hence I did the version based theme tutorial. I also get an error on Wear watch if I set theme to holo. Upvote 0
Erel said: It will work even if the theme doesn't exist so there isn't really any minimum version. The holo theme was added in Android 4 (api 14). Click to expand... are you sure about this? I used to get an error if I tried to set theme as holo on older devices. Hence I did the version based theme tutorial. I also get an error on Wear watch if I set theme to holo.
Douglas Farias Expert Licensed User Longtime User Aug 26, 2014 #7 Sory for this question xD but its possible add function like try on the manifest? try put holo.light catch theme.ligh its possible make this in manifest? Upvote 0
Sory for this question xD but its possible add function like try on the manifest? try put holo.light catch theme.ligh its possible make this in manifest?
DonManfred Expert Licensed User Longtime User Aug 26, 2014 #8 I think try-catch blocks are not allowed/possible in manifest-editor. Upvote 0
barx Well-Known Member Licensed User Longtime User Aug 26, 2014 #9 Douglas Farias said: Sory for this question xD but its possible add function like try on the manifest? try put holo.light catch theme.ligh its possible make this in manifest? Click to expand... No it's not. Check out my afore mentioned tutorial. theme-based-on-version-tutorial Upvote 0
Douglas Farias said: Sory for this question xD but its possible add function like try on the manifest? try put holo.light catch theme.ligh its possible make this in manifest? Click to expand... No it's not. Check out my afore mentioned tutorial. theme-based-on-version-tutorial