Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17493] Android window backgroundColor:'transparent' disable custom themes

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2018-04-18T10:51:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
LabelsTCSupport, android, android-4.4, backgroundColor, studio3, theme, themes, transparent, window
ReporterEzoom Agency
AssigneeYordan Banev
Created2014-07-22T19:14:45.000+0000
Updated2018-04-18T10:52:26.000+0000

Description

*S*etting index window to backgroundColor:'transparent' somehow disable custom themes use. *S*imple project attached using greenstyle theme blog example [http://www.appcelerator.com/blog/2014/07/android-appcompat-library/] *Reproducing steps:* *1* - Create New project Simple Alloy *2* - Copy the Platform folder to your project root [https://github.com/ricardoalcocer/New_in_Ti_3.3.0/tree/master/AppCompat/abthemes] *3* - Change the tiappxml android tag to:
    <android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest>
            <application android:theme="@style/Theme.Greenstyle"/>
            <uses-sdk android:minSdkVersion="14"/>
            <uses-sdk android:targetSdkVersion="20"/>
        </manifest>
    </android>
*4* - Run a test (tested only on a Nexus 4), theme will aplly action bar will be green, alert message will be light styled. *5* - Edit index.tss add the property:
"#index":{
	backgroundColor:'transparent',	
}
*6* - Run a test (tested only on a Nexus 4), theme will NOT aplly action bar will be BLACK, alert message will be DARK styled.

Attachments

FileDateSize
screenshot-1.jpg2014-07-22T19:27:30.000+000067747
screenshot-2.jpg2014-07-22T19:28:07.000+000033991
ThemeTest.zip2014-07-22T19:14:45.000+00005970423

Comments

  1. Mauro Parra-Miranda 2014-08-07

    Hello [~tlukasavage]! The original reporter is [~cleison.ezoom] (Ezoom Agency). Can you please switch the original reporter back to them? TIA!
  2. Tim Poulsen 2014-08-11

    [~mrahman] or [~mpmiranda] Did you test with a classic project? This would appear to be an SDK issue, not an Alloy issue. Please test and move to TIMOB if you can reproduce with a non-Alloy project.
  3. Tim Poulsen 2014-08-12

    Moving to TIMOB since this behavior happens with Classic projects as well. Not an Alloy-specific issue.
  4. jithinpv 2014-08-20

    Issue reproduces Titanium Command-Line Interface CLI version 3.3.0, Titanium SDK version 3.4.0 master, 3.3.0 GA Android device : Motorola Moto G, Android version : 4.4.4
  5. Yordan Banev 2017-07-11

    PR: https://github.com/appcelerator/titanium_mobile/pull/9216
  6. Yordan Banev 2018-04-18

JSON Source