I am using the Android Support Library v4 and v7 to get Fragments, Swipe-able View Pagers, and even ActionBar! It works and the graphics are really nice!
However while the graphics for the above look nice and consistent in Android 2.x and Android 4.x, some common widgets look very different between versions. This leads to colours mismatch inside the app with an otherwise consistent look UI - so no matter what I draw in the rest of the UI, either the yellow SeekBar or blue SeekBar won't match something.
I thought the whole point of the support library is to get a consistent UI across platforms, and stop needing 3rd party libraries such as ActionBarSherlock or HoloEverywhere!
I can't seem to find whether this is how Google wants my SeekBar to look like or am I doing something wrong:
My SeekBar looks quite nice on Android 4.x:
Alas, the very same SeekBar looks dated on Android 2.x:
I can't seem to find whether this is how Google wants my SeekBar to look like or am I doing something wrong:
Nope, you're not doing anything wrong. It's working as intended. If you want consistency with your UI elements across different Android versions, you need to use ActionBarSherlock
and optionally HoloEverywhere
.
Another option is the Android Holo Colors Generator. You can pick and choose which widgets you want as well as a color and it will generate the ICS themed assets and styles for you. You can then add them to your project as needed.