Created
September 18, 2013 23:23
-
-
Save willwhitney/6617164 to your computer and use it in GitHub Desktop.
android tab style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="retroTabStyle" parent="@android:style/Widget.Holo.ActionBar.TabView"> | |
<item name="android:showDividers">none</item> | |
<item name="android:measureWithLargestChild">true</item> | |
<item name="android:background">@drawable/tabs_background_selector</item> | |
<item name="android:gravity">center</item> | |
<item name="android:layout_weight">1</item> | |
</style> | |
<style name="retroTabBar" parent="@android:style/Widget.Holo.ActionBar.TabBar"> | |
<item name="android:showDividers">middle</item> | |
<item name="android:divider">@drawable/red_rectangle</item> | |
<item name="android:dividerPadding">10dp</item> | |
<item name="android:background">@drawable/tabs_background</item> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment