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

Android: Ti.UI.View "borderRadius" property not working on android 4.4.2 & 4.2.2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 5.2.0
    • Component/s: Android
    • Environment:

      Description

      This is a regression. Works fine with SDK 5.1.2.GA.

      Steps To Reproduce:

      1. Use the code below in your app.js:

      var win = Ti.UI.createWindow({});
       
      var view = Ti.UI.createView({
      	backgroundColor:'white',
      	height : Ti.UI.FILL,
      	width : Ti.UI.FILL,
      	borderRadius : '50',
      	//borderWidth:'20',
      	//borderColor:'red'
      });
       
      win.add(view);
      win.open();
      

      2.Build for android 4.4.2 & 4.4.2 & also with android 6.0 or 5.1.0.
      3.After the app launches look at the edges of the view.

      Actual Results:

      1. The edges of the view are not rounded even though the "borderRadius" property is specified on android 4.4.2 & 4.2.2.
      2. We see the rounded edges on android 6.0 ,5.1.0 & 4.4.4.
      Attaching screenshots for reference.

      Expected Results:

      1. Rounded edges should be visible when "borderRadius' is specified on android 4.4.2 & 4.2.2.

        Attachments

          Activity

            People

            • Assignee:
              ssombhatla Srikanth Sombhatla (Inactive)
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Hieu Pham
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code