Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18154] Android 5.0: Edges of buttons using 9-patch images appear white when depressed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2015-01-05T21:54:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterEduardo Gomez
AssigneeIngo Muschenetz
Created2014-12-09T01:57:22.000+0000
Updated2017-03-24T17:08:49.000+0000

Description

Issue Description

The corners of Ti.UI.Button objects appear white when depressed. This occurs when using the 3.4.x and 3.5.0.Alpha Ti SDKs and happens when setting the backgroundImage and backgroundSelectedImage properties using 9-patch images. The issue does not occur on previous Android OS versions.

Testing Device Details:

Connected Android Devices Nexus 5 ID = 08256ce40c79c27b State = device SDK Version = 5.0 (android-21) ABIs = armeabi-v7a, armeabi, armeabi-v7a,armeabi, armeabi-v7a,armeabi,

Expected

No white corners appear when button is clicked (Xperia Play Android OS 4.0)

Steps to reproduce

1. Import Titanium Mobile project (attached) 2. Run it in device 3. Click in the button to see the issue.

Attachments

FileDateSize
Android5_ButtonIssue.png2014-12-09T01:57:22.000+000041735
ButtonTest.zip2014-12-09T01:57:22.000+0000168761

Comments

  1. Ingo Muschenetz 2015-01-05

    Marking this as invalid, based on comments.
  2. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source