I\'m trying to make my ICS (API level 15) app compatible with Gingerbread (API level 10), and I\'m getting InflateException Error inflating class
As is in the documentation some styles are in higher API. For example:
dividerVertical
since API 11dividerHorizontal
since API 11?
mark is used to reference style in current theme.
To deal with your problem you can:
values-v11
folder and support styles for older versions in values
using custom values or different attributes from older API.It depends what's your aim. First suggestion makes sense when native style of application is important for you.
If you want to have Holo style everywhere then there is no way than copy it and use as a one style for all platforms.
Take a look at this project: https://github.com/Prototik/HoloEverywhere