Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4928] Android : View elevation resets on setting backgroundColor

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2017-04-28T20:33:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterErcan POLAT
AssigneeShak Hossain
Created2017-04-27T08:30:35.000+0000
Updated2017-04-28T20:33:54.000+0000

Description

İ was just trying to set backgroundColor of a elevated view. While i am doing so i realized that elevation value resets after setting backgroundColor of the corresponding view.

Attachments

FileDateSize
afterSettingBackgroundcolor.png2017-04-27T08:36:56.000+000049823
app.js2017-04-28T14:29:48.000+00001327
beforeSettingBackgroundcolor.png2017-04-27T08:36:57.000+000050138
customButton0.js2017-04-28T14:28:57.000+00001261

Comments

  1. Sharif AbuDarda 2017-04-27

    Hello, Can you please share a sample code for us to test?
  2. Ercan POLAT 2017-04-28

    i attached two files for testing. i just realized that creating the view with borderRadius is fixing the issue.

JSON Source