[TIMOB-17493] Android window backgroundColor:'transparent' disable custom themes
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2018-04-18T10:51:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | TCSupport, android, android-4.4, backgroundColor, studio3, theme, themes, transparent, window |
Reporter | Ezoom Agency |
Assignee | Yordan Banev |
Created | 2014-07-22T19:14:45.000+0000 |
Updated | 2018-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
File | Date | Size |
---|---|---|
screenshot-1.jpg | 2014-07-22T19:27:30.000+0000 | 67747 |
screenshot-2.jpg | 2014-07-22T19:28:07.000+0000 | 33991 |
ThemeTest.zip | 2014-07-22T19:14:45.000+0000 | 5970423 |
Hello [~tlukasavage]! The original reporter is [~cleison.ezoom] (Ezoom Agency). Can you please switch the original reporter back to them? TIA!
[~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.
Moving to TIMOB since this behavior happens with Classic projects as well. Not an Alloy-specific issue.
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
PR: https://github.com/appcelerator/titanium_mobile/pull/9216