android - AppCompat Custom theme not applying -


i generated custom theme using android asset studio actionbar styling tool. not able view theme. appcompat.light or appcompat.light.darkactionbar base theme in app. (i referred article theme not applied using appcompat library on android 4.x devices)

my values/styles.xml

<style name="theme.betbuds" parent="@style/theme.appcompat.light">     <item name="actionbaritembackground">@drawable/selectable_background_betbuds</item>     <item name="popupmenustyle">@style/popupmenu.betbuds</item>     <item name="dropdownlistviewstyle">@style/dropdownlistview.betbuds</item>     <item name="actionbartabstyle">@style/actionbartabstyle.betbuds</item>     <item name="actiondropdownstyle">@style/dropdownnav.betbuds</item>     <item name="actionbarstyle">@style/actionbar.solid.betbuds</item>     <item name="actionmodebackground">@drawable/cab_background_top_betbuds</item>     <item name="actionmodesplitbackground">@drawable/cab_background_bottom_betbuds</item>     <item name="actionmodeclosebuttonstyle">@style/actionbutton.closemode.betbuds</item> </style>  <style name="actionbar.solid.betbuds" parent="@style/widget.appcompat.light.actionbar.solid">     <item name="background">@drawable/ab_solid_betbuds</item>     <item name="backgroundstacked">@drawable/ab_stacked_solid_betbuds</item>     <item name="backgroundsplit">@drawable/ab_bottom_solid_betbuds</item>     <item name="progressbarstyle">@style/progressbar.betbuds</item> </style>  <style name="actionbar.transparent.betbuds" parent="@style/widget.appcompat.light.actionbar">     <item name="background">@drawable/ab_transparent_betbuds</item>     <item name="progressbarstyle">@style/progressbar.betbuds</item> </style>  <style name="popupmenu.betbuds" parent="@style/widget.appcompat.light.popupmenu">     <item name="android:popupbackground">@drawable/menu_dropdown_panel_betbuds</item> </style>  <style name="dropdownlistview.betbuds" parent="@style/widget.appcompat.light.listview.dropdown">     <item name="android:listselector">@drawable/selectable_background_betbuds</item> </style>  <style name="actionbartabstyle.betbuds" parent="@style/widget.appcompat.light.actionbar.tabview">     <item name="android:background">@drawable/tab_indicator_ab_betbuds</item> </style>  <style name="dropdownnav.betbuds" parent="@style/widget.appcompat.light.spinner.dropdown.actionbar">     <item name="android:background">@drawable/spinner_background_ab_betbuds</item>     <item name="android:popupbackground">@drawable/menu_dropdown_panel_betbuds</item>     <item name="android:dropdownselector">@drawable/selectable_background_betbuds</item> </style>  <style name="progressbar.betbuds" parent="@style/widget.appcompat.progressbar.horizontal">     <item name="android:progressdrawable">@drawable/progress_horizontal_betbuds</item> </style>  <style name="actionbutton.closemode.betbuds" parent="@style/widget.appcompat.light.actionbutton.closemode">     <item name="android:background">@drawable/btn_cab_done_betbuds</item> </style>  <!-- style referenced in light.darkactionbar based theme --> <style name="theme.betbuds.widget" parent="@style/theme.appcompat">     <item name="popupmenustyle">@style/popupmenu.betbuds</item>     <item name="dropdownlistviewstyle">@style/dropdownlistview.betbuds</item> </style> 

my values-v14/styles.xml

    <style name="theme.betbuds" parent="@style/theme.appcompat.light.darkactionbar">         <item name="android:actionbaritembackground">@drawable/selectable_background_betbuds</item>         <item name="android:popupmenustyle">@style/popupmenu.betbuds</item>         <item name="android:dropdownlistviewstyle">@style/dropdownlistview.betbuds</item>         <item name="android:actionbartabstyle">@style/actionbartabstyle.betbuds</item>         <item name="android:actiondropdownstyle">@style/dropdownnav.betbuds</item>         <item name="android:actionbarstyle">@style/actionbar.solid.betbuds</item>         <item name="android:actionmodebackground">@drawable/cab_background_top_betbuds</item>         <item name="android:actionmodesplitbackground">@drawable/cab_background_bottom_betbuds</item>         <item name="android:actionmodeclosebuttonstyle">@style/actionbutton.closemode.betbuds</item>       </style>      <style name="actionbar.solid.betbuds" parent="@style/widget.appcompat.light.actionbar.solid">         <item name="android:background">@drawable/ab_solid_betbuds</item>         <item name="android:backgroundstacked">@drawable/ab_stacked_solid_betbuds</item>         <item name="android:backgroundsplit">@drawable/ab_solid_betbuds</item>         <item name="android:progressbarstyle">@style/progressbar.betbuds</item>     </style>      <style name="actionbar.transparent.betbuds" parent="@style/widget.appcompat.light.actionbar">         <item name="android:background">@drawable/ab_transparent_betbuds</item>         <item name="android:progressbarstyle">@style/progressbar.betbuds</item>     </style>      <!-- style referenced in light.darkactionbar based theme -->     <style name="theme.betbuds.widget" parent="@style/theme.appcompat">         <item name="android:popupmenustyle">@style/popupmenu.betbuds</item>         <item name="android:dropdownlistviewstyle">@style/dropdownlistview.betbuds</item>     </style>  </resources> 

the android studio preview shows base themes. have following in manifest

<application         android:allowbackup="true"         android:icon="@drawable/ic_launcher"         android:label="@string/app_name"         android:theme="@style/theme.betbuds" > 

i realise there lot of questions similar this. not able figure out answer. appreciated. thanks.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -