[TIMOB-25505] Android: Transparent theme not working in SDK 6.3.0
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2017-11-15T17:20:01.000+0000 |
| Affected Version/s | Release 6.3.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Victor Vazquez Montero |
| Assignee | Gary Mathews |
| Created | 2017-11-13T17:43:33.000+0000 |
| Updated | 2018-08-06T17:41:11.000+0000 |
Description
Customer is unable to use transparent theme with SDK 6.3.0GA but works fine with SDK 6.2.0
index.xml:
<Alloy>
<Window backgroundColor="white">
<View id="loginView" layout="horizontal">
<ImageView class="txtManIcon"></ImageView>
<TextField id="tfUsername"></TextField>
</View>
</Window>
</Alloy>
Index.tss:
"#loginView":{
top:"8%",
height:"44dp",
backgroundColor:"#60ffffff",
borderRadius:3
}
"#tfUsername":{
left:"2%",
width:"86%",
bubbleParent: false,
height:Ti.UI.FILL,
hintText :"Username",
font:{
fontWeight:"bold"
}
}
Below are two screenshots one with 6.2.2 and other with 6.3.0
Attachments
| File | Date | Size |
|---|---|---|
| SDK6.2.2.png | 2017-11-13T17:43:11.000+0000 | 13713 |
| SDK6.3.0.png | 2017-11-13T17:43:11.000+0000 | 16813 |
Here's a test case:
var win = Ti.UI.createWindow({title: 'TIMOB-25505', backgroundColor: 'white'}), view = Ti.UI.createView({ backgroundColor: '#60FFFFFF', height: '45dp', borderRadius: 3 }), txt = Ti.UI.createTextField({ hintText: 'Username', left: '5dp', right: '5dp', height: Ti.UI.FILL }); view.add(txt); win.add(view); win.open();Resolving as duplicate of TIMOB-25461
Closing as a duplicate. If this is in error, please reopen.