i have an Intellij Android project structure issue.
I want my app to work for 2.2-devices, so have my project SDK set up to be 2.2. However, i also want some version-specific layouts to go into the app, which only is read by phones that can handle it.
More specifically, i have created a "values-v14" folder where i've put some holo-specific code:
<?xml version="1.0" encoding="utf-8"?>
<style name="SelectableItem" parent="@android:Theme.Holo.Light.DarkActionBar">
Now, my problem is that all this goes red and i get an error when building:
android-apt-compiler: [NubaAndroidClient] /projects/NubaAndroidClient/res/values-v14/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:Theme.Holo.Light.DarkActionBar'.
Since the stuff WILL exist on a newer phone, this shouldn't be an error. How do i work around this?
Pointers much appreciated.