Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26683] Label don't appears on Android 5.1 and below when use borderRadius on a semi-transparent view.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsalloy, android, android-5, engSchedule
ReporterJórdan Luiz Bisato
AssigneeEric Merriman
Created2018-12-28T12:36:40.000+0000
Updated2019-03-19T15:38:22.000+0000

Description

When on Android 5.1 or below, the label don't appears when i use a label inside a semi-transparent view with borderRadius. On iOS and Android 6 or above is working fine. Example of code that i use: *index.xml*
<Alloy>
<Window>
<View class="vLabelSimpleCardIcon">
        <Label text="TEST" class="lblSimpleCardIcon" height="Ti.UI.SIZE"></Label>
      </View>
</Window>
</Alloy>
*index.tss*
'.vLabelSimpleCardIcon': {
	layout: 'vertical',
	width: "79%",
	left: "16%",
	backgroundColor: '#F9F7F4',
	touchEnabled: false,
	opacity: "0.4",
	height: 50,
	borderRadius: 8
}

'.lblSimpleCardIcon': {
	font: {
		fontSize: 12,
		fontFamily: "Roboto",
	},
	color: "black",
	left: "11%",
	top: 18,
	textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT,
	touchEnabled: false,
	width: Ti.UI.SIZE,
	height: 27,
	ellipsize: Ti.UI.TEXT_ELLIPSIZE_TRUNCATE_END,
}
The attached image is showing this issue on Android 5.0 and 5.1 and working fine on Android 6.0.

Attachments

FileDateSize
Captura de Tela 2018-12-27 às 11.35.47.png2018-12-28T12:28:18.000+00001768249

Comments

  1. Sharif AbuDarda 2018-12-30

    Hello [~jordanbisato], I have tested your sample code and was able to reproduce the issue on Android version below 6.0 with SDK 7.5.0.GA. Moving to TIMOB for our engineers to work on this. Thanks for reporting.

JSON Source