Hi!
Im the kinda of android developer thats fascinated with good looking tabs. Probably the best one ive seen so far is the one from the GoWalla app.
Does anyone have some initial thoughts about how they achieved that look?
Thanks
Hi!
Im the kinda of android developer thats fascinated with good looking tabs. Probably the best one ive seen so far is the one from the GoWalla app.
Does anyone have some initial thoughts about how they achieved that look?
Thanks
If your question is about the icons, a tab's icon can be a StateListDrawable
:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_selected="true"
android:state_pressed="false"
android:drawable="@drawable/foo_when_selected"
/>
<item
android:drawable="@drawable/foo_normal"
/>
</selector>
Then, you can use different PNGs for the selected versus normal cases (red-orange versus gray in the GoWalla example).