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

Android: CardView not visible when borderRadius is set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.3.0
    • Fix Version/s: Release 7.3.0
    • Component/s: Android
    • Labels:
    • Environment:

      SDK 7.3.0.v20180703051211

      Description

      I'm currently testing SDK 7.3 with our app, a CardView with a border radius is not visible.
      It used to work in 7.2 and previous versions.

      var win = Ti.UI.createWindow({
          backgroundColor:'green'
      });
      	
      var card = Ti.UI.Android.createCardView({	
      		//padding: 20,
      		backgroundColor: '#ffffff',		
      		borderRadius: 5,
      		layout: 'vertical'
          });
       
      var label = Ti.UI.createLabel({
      	color: 'black',
      	text: 'text text text'
      });
       
      card.add(label)
      win.add(card);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              gaspard.le Luc-Edmond Gaspard
              Reviewer:
              Yordan Banev
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code