Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1864] Android: backgroundGradient's dissapear and reappear when adding/removing elements from a view.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2012-12-10T08:38:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, android-4.0, backgroundGradient, gradient
ReporterTroy Steuwer
AssigneeMauro Parra-Miranda
Created2012-11-20T16:59:18.000+0000
Updated2016-03-08T07:40:46.000+0000

Description

This seems to only happen on Android 4.0 and above. When adding views with backgroundGradients, the gradients stay. However, if there was a view with a gradient already on display, it may or may not have it's gradient disappear. You can see examples attached. Titanium Studio build 2.1.2.201208301612 Build: jenkins-titanium-rcp-master-232 (origin/master) Tested on a stock Samsung Galaxy S III running Android 4.0.4, a Samsung Galaxy Tab 7' running Android 4.0.4 and an HTC DNA running Android 4.1.1.

Attachments

FileDateSize
after-1.png2012-11-20T16:59:18.000+000086211
before-1.png2012-11-20T16:59:18.000+000087877

Comments

  1. Troy Steuwer 2012-11-29

    I can also confirm this happens on Android 4.1.1 on a HTC DNA.
  2. Daniel Sefton 2012-12-10

    Hi Troy, It would be great if you could provide a simple test case for this. Thanks.

JSON Source