U
U
Uran_902014-12-14 00:20:41
Android
Uran_90, 2014-12-14 00:20:41

Why doesn't customization of tabs in actionbar work?

Good afternoon. It is necessary to customize actoinbar tabs, in android. I read the examples in the documentation ( https://developer.android.com/training/basics/acti... I do the same - the appearance remains standard. What am I doing wrong?
My files:
theme.xml - https://www .dropbox.com/s/ee4noznbgbltfk6/themes.x...
bk_action_bar.xml - https://www.dropbox.com/s/kchvxl744i98434/bk_actio...
Manifest - https://www.dropbox.com/s /ls1kdphfum1y3nw/AndroidM...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2014-12-18
@mbelskiy

I suspect that the parent of "MyActionBarTabs" is spelled incorrectly, well, the item has lost its prefix. Try like this:

<style name="MyActionBarTabs" parent="Widget.AppCompat.ActionBar.TabView">
  <item name="android:background">@drawable/bk_action_bar</item>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question