Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Android
-
Environment:
SDK 3.3.0.GA
SDK Tools 23.0.2
PlatformTools 20
BuildTools 20
API20
Nexus 4
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
Issue Links
- duplicates
-
TIMOB-25469 Android: Custom theme not applying when background color is transparent
-
- Closed
-