Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3352] Android TextField drawing broken when using % width inside a tab window

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-21T20:33:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterRadu.V
AssigneeIngo Muschenetz
Created2011-04-15T03:42:48.000+0000
Updated2017-06-21T20:33:26.000+0000

Description

Hello everybody,

I've been implementing a configuration screen for my application.
This is a tabbed layout, with a configuration tab displaying 3 textFields to type in your username, password and company in order to login into a web service.

I've chose to display the text fields inside a grouped tableView. So I could separate the Login details and Company details with a nice header. The bug happens with or without using the grouping of table rows.
On iOS there are no problems, but on android 2.2, using TItanium 1.6 / 1.6.1 SDK the text fields do not show, except for the last textField in the last table row.

This happens in the demo app I provided in the GISTs mentioned bellow. In my main app the textFields do show, but as soon you would click to enter text, they would go away.
I've tested on a HTC Desire, same issue as in the emulator (Android 2.2)

By using a fixed width, in px, or dip everything looks OK

I've also attached a test project.

Photos:

Desired:

http://imm.io/4moz">http://imm.io/4moz

Actual output (Titanium 1.6 and 1.6.1)

http://imm.io/4moy">http://imm.io/4moy

Gist:

https://gist.github.com/870605">https://gist.github.com/870605
Thank you for your time

Attachments

FileDateSize
textfieldbug.zip2011-04-15T03:42:53.000+000020773063

Comments

  1. Lee Morris 2017-06-21

    Closing ticket due to time passed and no progress for a number of years. Any problems, please file a new ticket.

JSON Source