Usage of ?android:attr/ in backwards compatible apps
问题 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 <Unknown> for any layout XML that has an ?android:attr/ attribute. If I comment out these attributes I can compile and run the app, but then it, of course, looks aweful. I'd rather not duplicate all of the items from android.R.attr that I'm using, but at the moment I'm lost as to another way to do it. I'm using ActionBarSherlock to get the ActionBar