Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24165] Android: Unable remove action bar using custom theme when the window background color is transparent.

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-03-28T23:12:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.4
ComponentsAndroid
Labelsprimary, qe-6.1.0
ReporterShuo Liang
AssigneeGary Mathews
Created2016-11-23T01:32:21.000+0000
Updated2017-03-29T18:06:48.000+0000

Description

Problem

Customer facing following problem Using custom theme for android to remove action bar. It is working fine in all the cases except when the window background color is transparent.

Reproduce

Attached test case

Attachments

FileDateSize
custom_theme.xml2016-11-23T01:31:38.000+0000408
test_without.jpg2017-03-28T12:00:43.000+0000287463
test.jpg2017-03-28T11:46:06.000+0000111665
tiapp.xml2016-11-23T01:32:16.000+00002187
TIMOB-24165.zip2017-03-28T11:55:06.000+00002624
transparentWin.tss2016-11-23T01:31:02.000+000076
transparentWin.xml2016-11-23T01:30:48.000+0000181

Comments

  1. Josh Longton 2016-12-02

    Verified as fixed the action bar can now be removed using a custom theme when the background is transparent. Tested on: {noformat} macOS Sierra 10.12.1 Nexus 5X(6.0.1) Nexus 6p (7.0) android emulator (4.4.2, 6.0) Studio: 4.8.0.201611121409 Ti SDK: 6.1.0.v20161202081834 Appc NPM: 4.2.8 App CLI: 6.1.0-302 Node v4.4.7 {noformat} *Closing Ticket.*
  2. Hans Knöchel 2017-01-20

    For the records, the PR on master was: https://github.com/appcelerator/titanium_mobile/pull/8639
  3. Eric Merriman 2017-03-24

    Reopening for backport
  4. Gary Mathews 2017-03-27

    6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8911
  5. Lokesh Choudhary 2017-03-28

    Check backport PR for comment.
  6. Gary Mathews 2017-03-28

    [~lchoudhary] I've tested using 6.0.4.v20170324115015 with the [changes](https://github.com/appcelerator/titanium_mobile/pull/8911/files) applied and it seems to work fine. !test.jpg|thumbnail! For comparison, here's a screenshot without the fix applied. !test_without.jpg|thumbnail! Here's the test case I'm using: [^TIMOB-24165.zip]
  7. Lokesh Choudhary 2017-03-28

    Verified the fix with locally built 6.0.4 for the modified PR https://github.com/appcelerator/titanium_mobile/pull/8911. Waiting for build from jenkins to close the ticket.
  8. Lokesh Choudhary 2017-03-29

    Verified the fix with 6.0.4.v20170328161159. Closing.

JSON Source