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

Android: CardView backgroundImage & borderColor properties don't work

    Details

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

      Environment:
      Appc Studio : 4.4.0.201511241829
      Ti SDK : 5.1.2.v20151203125117
      Ti CLI : 5.0.5
      Alloy : 1.7.26
      MAC Yosemite : 10.10.5
      Appc NPM : 4.2.2
      Appc CLI : 5.1.0
      Node: v0.12.27

    • Story Points:
      1
    • Sprint:
      2015 Sprint 25 SDK

      Description

      Steps To Reproduce:

      1. I followed the docs here : http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-backgroundImage
      http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-borderColor
      2. Use the code below:

      var win = Ti.UI.createWindow({
          backgroundColor:'white',
          title: 'Card Demo'
      });
       
       
      var card = Ti.UI.Android.createCardView({
          height:200,
          width:250,
          borderWidth:10,
          borderColor:'red',
          contentPadding: 20,
          cardCornerRadius: 10,
          backgroundImage:'android.jpg'
      });
       
      var label = Ti.UI.createLabel({
          color:'black',
          text: 'HELLO',
      });
       
      card.add(label);
      win.add(card);
      win.open();
      

      2. Check the bordercolor & backgroundimage of the cardview.

      Actual Results:

      1. We do not see the bordercolor & backgroundimage.

      Expected Result:

      1. We should see the bordercolor & the backgroundimage for the cardview.

        Attachments

          Activity

            People

            • Assignee:
              msamah Ashraf Abu (Inactive)
              Reporter:
              lchoudhary Lokesh Choudhary
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration