Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27946] Android: Implement Ti.View.borderRadius multiple values for custom edge radii

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-08-06T12:19:12.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
ComponentsAndroid
Labelsn/a
ReporterHans Knöchel
AssigneeGary Mathews
Created2020-06-08T17:08:25.000+0000
Updated2021-02-23T05:42:51.000+0000

Description

A developer should be able to configure custom border radii, e.g. bottom-left, bottom-right, top-left and top-right. The size of the radius can and should be reused from the existing border-radius property. Example:
var win = Ti.UI.createWindow({
    backgroundColor: '#333'
});

var view = Ti.UI.createView({
    backgroundColor: '#fff',
    height: 350,
    bottom: 0,
    borderRadius: '20px 20 20dp 15px',
});

win.add(view);
win.open();

Comments

  1. Gary Mathews 2020-06-08

    -master: https:\//github.com/appcelerator/titanium_mobile/pull/11114-
  2. Gary Mathews 2020-06-11

    https://github.com/appcelerator/titanium_mobile/pull/11796
  3. Samir Mohammed 2020-07-06

    FR Passed, waiting on Jenkins build.
  4. Christopher Williams 2020-07-07

    merged to master for 9.1.0 target
  5. Sohail Saddique 2020-08-06

    Fix verified in build 9.1.0.v20200804082025. Ticket closed.
  6. Sebastian Klaus 2020-08-26

JSON Source