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

Android: View borderRadius not working

    Details

      Description

      Problem
      borderRadius not working in android versions 2.4 and below.
      borderRadius also not working when Force GPU Rendeing is turned on.

      I have the below code running using in device using Android 2.2 but the border radius is not showing. i also attached the build log file:

      Steps to Reproduce
      1. copy and past provided code in app.js
      2. if testing on android device with OS > 2.4, go to dev options and turn on "Force GPU Rendering"
      3. Run the code
      4. notice borderRadius is not enforced.
      5. if on android OS version 2.4 or below, the option should not be available but should show the bug regardless

      Test Code to Reproduce

      var mainWindow = Ti.UI.createWindow({
      	title : 'Lab',
      	backgroundColor : 'white',
      	fullscreen : false,
      	navBarHidden : true,
      	exitOnClose : true,
      	orientationModes : [Titanium.UI.PORTRAIT]
      });
      var portletView = Ti.UI.createView({
      	width : 200,
      	height : 220,
      	borderRadius : 20,
      	borderWidth : 1,
      	backgroundColor : '#b2b2b2',
      	zIndex : 1,
      	left : 100,
      	top : 100
      });
       
      mainWindow.add(portletView);
      mainWindow.open();
      

        Attachments

          Activity

            People

            • Assignee:
              ayeung Allen Yeung
              Reporter:
              clathrop Carter Lathrop
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code