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

Android: TableViewRow does not apply opacity to child views

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Release 9.3.0
    • Component/s: Android
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2020 Sprint 20, 2020 Sprint 21, 2020 Sprint 22, 2020 Sprint 23

      Description

      • Setting opacity on TableViewRow has no effect on child views.

      TEST

      const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
      const row = Ti.UI.createTableViewRow({
      	height: 80,
      	opacity: 0.4,
      	backgroundColor: 'blue'
      });
      const label = Ti.UI.createLabel({
      	text: 'This view should be affected by row opacity',
      	textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
      	backgroundColor: 'red',
      	width: '80%',
      	height: '80%'
      });
       
      row.add(label);
       
      const table = Ti.UI.createTableView({
        data: [ row ]
      });
       
      win.add(table);
      win.open();
      

      EXPECTED

      • TableViewRow including child views, should be affected by opacity.

      ACTUAL

      • Only the TableViewRow background is affected by opacity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                gmathews Gary Mathews
                Reviewer:
                Joshua Quick
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Integration