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

Android: Label shadow color & shadow offset property not working on android lollipop

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Not Our Bug
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.1.0
    • Component/s: Android
    • Environment:
    • Story Points:
      5
    • Sprint:
      2015 Sprint 12 SDK

      Description

      Steps To Reproduce:

      1. Create an android app with the following code in the app.js:

      var win = Ti.UI.createWindow({
      	backgroundColor:'grey'
      });
       
      var label = Ti.UI.createLabel({
          color: '#900',
          font: {
              fontSize: 48
          },
          text: 'A simple label',
          textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
          top: 30,
          width: 500,
          height: 200
      });
       
      var change = Ti.UI.createButton({
          bottom: 10,
          title: "change the shadow of the label"
      });
       
      change.addEventListener("click", function() {
          label.shadowColor = "blue";
          label.shadowOffset = {
              x: 10,
              y: 10
          };
      });
       
      win.add(label);
      win.add(change);
      win.open();
      

      2. Build the app for android lollypop device.
      3. Click on the button "Change the shadow of the label".

      Actual Results:

      1. The label shadow does not change. This happens only on android lollypop.

      Expected Results:

      1. The label shadow should change to what's specified.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration