[AC-5414] Android: can't display drawer menu over ActionBar correctly (title color gets overwritten)
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | n/a | 
| Status | Resolved | 
| Resolution | Done | 
| Resolution Date | 2017-12-27T22:11:51.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | n/a | 
| Components | Titanium SDK & CLI | 
| Labels | actionbar, android, drawerlayout | 
| Reporter | Guillermo Figueras | 
| Assignee | Shak Hossain | 
| Created | 2017-11-29T12:15:30.000+0000 | 
| Updated | 2017-12-27T22:11:51.000+0000 | 
Description
	I'm facing a problem with drawer menus in Android.
I want my app to display the drawer menu over the ActionBar. I managed to do that by setting a couple of properties on my app theme, but the problem is that after using those two properties, my ActionBar title color will change to black, and I want it to be white.
*mytheme.xml:*
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
	<item name="colorPrimary">@color/red</item>
	<item name="android:colorPrimaryDark">@color/red_dark</item>
	<item name="android:textColorPrimary">@color/white</item>  
	<item name="android:textColorSecondary">@color/white</item>
    	<item name="android:textColorHint">#CCCCCC</item>
    	<item name="colorControlHighlight">#212121</item>
    	<!-- With these properties I can display drawer menu over actionbar but actionbar's title color changes to black  -->
    	<item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
</style>
Attachments
| File | Date | Size | 
|---|---|---|
| actionbar_wrong_color.png | 2017-11-29T12:11:46.000+0000 | 13731 | 
| drawer_below_actionbar.png | 2017-11-29T12:11:47.000+0000 | 38065 | 
| drawer_over_actionbar.png | 2017-11-29T12:11:47.000+0000 | 32409 | 
[~gfigueras] These two properties disable the default ActionBar, so I assume you are using an instance of Toolbar as one? If that is the case -
titleTextColorcan be used: https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Toolbar-property-titleTextColor If that is not the case and you are able to provide how are you setting up your ActionBar it would be really helpful.The issue is resolved in SDK 7.0.1.GA.