Skip to content

TabbedBar: BarItemType: Enabled and Label properties #12664

Answered by m1ga
tyroneBaba asked this question in Q&A
Discussion options

You must be logged in to vote

Android

For the colors on Android you have to create a theme:

	<style name="Theme.MyTheme" parent="@style/Theme.Titanium"></style>

	<style name="Base.Widget.Design.TabLayout" parent="android:Widget">
	    <item name="tabIndicatorColor">#0f0</item>
	    <item name="tabSelectedTextColor">#00f</item>
	    <item name="tabIndicatorHeight">4dp</item>
	</style>

The parent is plain widget thats why the padding and everything it missing. Either find the correct parent or add the padding again 😄

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jquick-axway
Comment options

@tyroneBaba
Comment options

@Max87ZA
Comment options

Answer selected by tyroneBaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants