I recently imported my Android project from eclipse to Android Studio. I have 3 styles.xml files: styles.xml, styles.xml (v11) and styles.xml (v14). I do not know how and when it happened.
styles.xml (v11) includes:
<!-- Base application theme for API 11+. This theme completely replaces AppBaseTheme from res/values/styles.xml on API 11+ devices. -->
styles.xml (v14) includes:
<!-- Base application theme for API 14+. This theme completely replaces AppBaseTheme from BOTH res/values/styles.xml and res/values-v11/styles.xml on API 14+ devices. -->
I want to know why they are here, and can I delete the v11 and v14 xml files.
They work the same way with the original styles.xml, but they have resource qualifiers. This means that they are only used when their qualifiers meet - in this case, when the API version is 11+ or 14+.
styles.xml
resource qualifiers
- , .
, Google
styles.xml, Eclipse styles.xml (v11 v14), :
API 11+. AppBaseTheme res/values /styles.xml API 11+.
, API, . , API. , styles.xml . : -mdpi, values-hdpi.