Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1431] Android: borderRadius does not understand 'dp' units

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-05-27T17:15:12.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterFix Please
AssigneeRitu Agrawal
Created2014-05-26T11:31:51.000+0000
Updated2016-03-08T07:37:51.000+0000

Description

See the image attached. The markup:
<Alloy>
  <Window class="container">
    <View layout="horizontal">
      <View width="100dp" height="100dp" borderWidth="5" borderRadius="100" borderColor="blue" top="10dp" left="5dp"></View>
      <View width="100dp" height="100dp" borderWidth="5dp" borderRadius="100" borderColor="blue" top="10dp" left="5dp"></View>
      <View width="100dp" height="100dp" borderWidth="5" borderRadius="100dp" borderColor="blue" top="10dp" left="5dp"></View>
      <View width="100dp" height="100dp" borderWidth="5dp" borderRadius="100dp" borderColor="blue" top="10dp" left="5dp"></View>
    </View>
  </Window>
</Alloy>

Attachments

FileDateSize
ts_dpDoesNotWork.jpg2014-05-26T11:31:51.000+000035663

Comments

  1. Ritu Agrawal 2014-05-27

    This is a duplicate of TIMOB-15099 . This issue is already fixed and is schedule for the next release.
  2. Fix Please 2014-05-28

    Hi Ritu, It's stated in the TIMOB-15099 that it's *already* fixed in the *Release 3.2.3* and verified with *3.2.3.v20140325145222* My current environment is *Titanium Studio, build: 3.2.3.201404181442*. And the issue still exists. So which 'next release' do you mean?
  3. Fix Please 2014-05-28

    Seems my environment do not automatically use the latest installed GA for some reason. The issue is gone once I've switched to the 3.2.3.GA manually.

JSON Source