Skip to content

Instantly share code, notes, and snippets.

@hvisser
Created January 10, 2013 19:01
Show Gist options
  • Save hvisser/4504794 to your computer and use it in GitHub Desktop.
Save hvisser/4504794 to your computer and use it in GitHub Desktop.
Android style lint check
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style android:name="MyStyle" parent="android:Theme.Light">
<!-- if the minSdk level is less then 11, then this should be a lint error, since android:actionBarStyle is since API 11,
unless this is in a -v11 (or better) resource folder -->
<item name="android:actionBarStyle">...</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment