Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24924] Android Themes: Hide the action bar of all windows not working as expected with 6.1.1.GA

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2017-07-14T15:16:26.000+0000
Affected Version/sRelease 6.1.1
Fix Version/sn/a
Componentsn/a
Labelsandroid, reprod
ReporterAminul Islam
AssigneeYordan Banev
Created2017-07-03T14:19:57.000+0000
Updated2017-08-16T01:11:45.000+0000

Description

Hi, In the sample app, the custom theme has a property to hide the action bar of all windows through out the application.If you run the app, your window will show up, but without the effect of a custom theme. Steps to reproduce: 1. Import [^sampleApp.zip] project. 2. Build project with 6.1.1.GA 3. Action bar of all window will show up. Test Environmnet:
Android 6 (HTC one m8)
Appcelerator Command-Line Interface, version 6.2.2
Operating System
  Name                        = Mac OS X
  Version                     = 10.11.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 4.4.4
  npm Version                 = 2.15.1
Titanium CLI
  CLI Version                 = 5.0.14
Titanium SDK
  SDK Version                 = 6.1.1.GA
Thanks

Attachments

FileDateSize
0-sa-d3-30e515e954bedb363caed4ec6eeca767.jpg2017-07-05T12:55:57.000+000028585
sampleApp.zip2017-07-05T12:49:00.000+00009436307

Comments

  1. Lee Morris 2017-07-05

    I am able to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
  2. Yordan Banev 2017-07-13

    Add the following rows in epod.xml:
       <style name="epod" parent="Theme.AppCompat">
       	<item name="windowActionBar">false</item>
       	<item name="windowNoTitle">true</item>
       </style>
       
    They are required for the custom theme to be compatible with AppCompat theme and properly overwrite the values. Please, let me know if that works for you.
  3. Lee Morris 2017-08-16

    Closing with reference to the above observations.

JSON Source