Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26683

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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Android 5.1 and below.
      Ti SDK 7.5.0.GA
      Appc cli 7.0.8-5

      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

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              jordanbisato Jórdan Luiz Bisato
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6796
                  Sync status:
                  PENDING
                  Last received:
                  Last sent:

                  Git Source Code