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

Android: rgba(int,int,int) parity with iOS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 9.3.1
    • Fix Version/s: Release 9.3.2, Release 10.0.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2021 Sprint 3

      Description

      iOS will use rgb if the alpha value of rgba is missing. Android will ignore the color

      var win = Ti.UI.createWindow({ backgroundColor: 'white' });
      win.open();
      var view1 = Ti.UI.createView({backgroundColor:"rgb(255,0,0)", width: 100,height: 100, top:0});
      win.add(view1);
      var view2 = Ti.UI.createView({backgroundColor:"rgba(255,0,0)", width: 100,height: 100});
      win.add(view2);
      

      should display 2 red squares.

      SDK 9.3.1.GA
      Android 11 Pixel 4

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              michael Michael Gangolf
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration