[AC-5226] Android: DrawerLayout colorPrimary does not work when theme is apcomat.noTitleBar
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2017-11-08T08:14:29.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | DrawerLayout, android |
Reporter | Ahmed Mohamed |
Assignee | Shak Hossain |
Created | 2017-09-22T16:55:18.000+0000 |
Updated | 2017-11-11T23:38:30.000+0000 |
Description
DrawerLayout colorPrimary or backgroundColor does not work when windows theme is AppCompat.NoTitleBar or AppCompat.NoActionBar, and set by default to #222299 because of this line android:background="#222299" .
if you change the previous line to be => android:background="@color/primary",
then we can add this line to our theme => #026060
this will change DrawerLayout toolbar color.
May this be related to https://github.com/appcelerator/titanium_mobile/pull/9452? If so, it'll be fixed in 6.3.0!
Hello, [~ahmed.mohamed20320] Can you try this on SDK 6.3.0.GA. Thanks.
Thanks, It works well now.