Android: ActionBarSplit not showing, whited out and still functional / clickble, but not displaying background resource?



I'm trying to implement a split action bar. The device acts as though the ActionBar is split, the buttons can be clicked and the drop-down menu is displayed correctly as normal, but the split actionbar appears to be white, it blocks UI elements behind it so I know it's not just transparent. It has worked before but I moved our one resources file and created multiple folders of styles for different devices, this below is taken from



values-xhdmi


This Theme.Project is added in the AndroidManifest in application />



android:theme="@style/Theme.Towbook"

<style name="Theme.Project" parent="@style/Theme.Sherlock.Light.DarkActionBar">
<item name="actionBarItemBackground">@drawable/selectable_background_projectname</item>
<item name="popupMenuStyle">@style/PopupMenu.ProjectName</item>
<item name="dropDownListViewStyle">@style/DropDownListView.ProjectName</item>
<item name="actionBarTabStyle">@style/ActionBarTabStyle.ProjectName</item>
<item name="actionDropDownStyle">@style/DropDownNav.ProjectName</item>
<item name="actionBarStyle">@style/ActionBar.Solid.ProjectName</item>
<item name="actionModeBackground">@drawable/cab_background_top_projectname</item>
<item name="actionModeSplitBackground">@drawable/cab_background_bottom_projectname</item>
<item name="actionModeCloseButtonStyle">@style/ActionButton.CloseMode.ProjectName</item>

<!-- Light.DarkActionBar specific -->
<item name="actionBarWidgetTheme">@style/Theme.ProjectName.Widget</item>
<item name="actionBarTabTextStyle">@style/ProjectName.ActionBar.TabTextStyle</item>
<item name="android:actionBarStyle" tools:targetApi="11">@style/Widget.ProjectName.ActionBar</item>
<item name="android:actionBarTabTextStyle" tools:targetApi="11">@style/ProjectName.ActionBar.TabTextStyle</item>
</style>


Here is the @drawable/cab_background_bottom_projectname


http://ift.tt/1z2r16f


(I can't embed until 10 rep :S )


And here is @style/Widget.ProjectName.ActionBar



<style name="ActionBar.Solid.ProjectName" parent="@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse">
<item name="background">@drawable/ab_solid_projectname</item>
<item name="backgroundStacked">@drawable/ab_stacked_solid_projectname</item>
<item name="backgroundSplit">@drawable/ab_bottom_solid_projectname</item>
<item name="progressBarStyle">@style/ProgressBar.ProjectName</item>
</style>


This is the @drawable/ab_bottom_solid_projectname resource


http://ift.tt/1pqttTZ


No comments:

Post a Comment