Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25505] Android: Transparent theme not working in SDK 6.3.0

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2017-11-15T17:20:01.000+0000
Affected Version/sRelease 6.3.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterVictor Vazquez Montero
AssigneeGary Mathews
Created2017-11-13T17:43:33.000+0000
Updated2018-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

FileDateSize
SDK6.2.2.png2017-11-13T17:43:11.000+000013713
SDK6.3.0.png2017-11-13T17:43:11.000+000016813

Comments

  1. Yordan Banev 2017-11-15

  2. Gary Mathews 2017-11-15

    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();
       
  3. Gary Mathews 2017-11-15

    Resolving as duplicate of TIMOB-25461
  4. Eric Merriman 2018-08-06

    Closing as a duplicate. If this is in error, please reopen.

JSON Source