android - Actionbar tab style doesn't affect. No acceptance of style.xml. I have added theme in manifest as app theme -


this styling of action bar tabs created using site https://jgilfelt.github.io/android-actionbarstylegenerator/ know actionbar replaced toolbar.

theme hololight. problem.

<resources>  <style name="theme.gsactionbartabstyle" parent="@style/theme.appcompat.light.darkactionbar">     <item name="actionbaritembackground">@drawable/selectable_background_gsactionbartabstyle     </item>     <item name="popupmenustyle">@style/popupmenu.gsactionbartabstyle</item>     <item name="dropdownlistviewstyle">@style/dropdownlistview.gsactionbartabstyle</item>     <item name="actionbartabstyle">@style/actionbartabstyle.gsactionbartabstyle</item>     <item name="actiondropdownstyle">@style/dropdownnav.gsactionbartabstyle</item>     <item name="actionbarstyle">@style/actionbar.solid.gsactionbartabstyle</item>     <item name="actionmodebackground">@drawable/cab_background_top_gsactionbartabstyle</item>     <item name="actionmodesplitbackground">@drawable/cab_background_bottom_gsactionbartabstyle     </item>     <item name="actionmodeclosebuttonstyle">@style/actionbutton.closemode.gsactionbartabstyle     </item>      <!-- light.darkactionbar specific -->     <item name="actionbarwidgettheme">@style/theme.gsactionbartabstyle.widget</item>  </style>  <style name="actionbar.solid.gsactionbartabstyle" parent="@style/widget.appcompat.light.actionbar.solid.inverse">     <item name="background">@drawable/ab_solid_gsactionbartabstyle</item>     <item name="backgroundstacked">@drawable/ab_stacked_solid_gsactionbartabstyle</item>     <item name="backgroundsplit">@drawable/ab_bottom_solid_gsactionbartabstyle</item>     <item name="progressbarstyle">@style/progressbar.gsactionbartabstyle</item> </style>  <style name="actionbar.transparent.gsactionbartabstyle" parent="@style/widget.appcompat.actionbar">     <item name="background">@drawable/ab_transparent_gsactionbartabstyle</item>     <item name="progressbarstyle">@style/progressbar.gsactionbartabstyle</item> </style>  <style name="popupmenu.gsactionbartabstyle" parent="@style/widget.appcompat.popupmenu">     <item name="android:popupbackground">@drawable/menu_dropdown_panel_gsactionbartabstyle     </item> </style>  <style name="dropdownlistview.gsactionbartabstyle" parent="@style/widget.appcompat.listview.dropdown">     <item name="android:listselector">@drawable/selectable_background_gsactionbartabstyle</item> </style> 

actionbar style.

<style name="actionbartabstyle.gsactionbartabstyle" parent="@style/widget.appcompat.actionbar.tabview">     <item name="android:background">@drawable/tab_indicator_ab_gsactionbartabstyle</item>     <item name="android:gravity">center</item> </style>  <style name="dropdownnav.gsactionbartabstyle" parent="@style/widget.appcompat.spinner.dropdown.actionbar">     <item name="android:background">@drawable/spinner_background_ab_gsactionbartabstyle</item>     <item name="android:popupbackground">@drawable/menu_dropdown_panel_gsactionbartabstyle     </item>     <item name="android:dropdownselector">@drawable/selectable_background_gsactionbartabstyle     </item> </style> 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -