Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5226] Android: DrawerLayout colorPrimary does not work when theme is apcomat.noTitleBar

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2017-11-08T08:14:29.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsDrawerLayout, android
ReporterAhmed Mohamed
AssigneeShak Hossain
Created2017-09-22T16:55:18.000+0000
Updated2017-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.

Comments

  1. Hans Knöchel 2017-09-22

    May this be related to https://github.com/appcelerator/titanium_mobile/pull/9452? If so, it'll be fixed in 6.3.0!
  2. Sharif AbuDarda 2017-11-07

    Hello, [~ahmed.mohamed20320] Can you try this on SDK 6.3.0.GA. Thanks.
  3. Ahmed Mohamed 2017-11-11

    Thanks, It works well now.

JSON Source