Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11552] Android: Conflict between actionBar and Textfield/Switch appearance Android ICS and Jellybean

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-26T00:03:53.000+0000
Affected Version/sRelease 2.1.3, Release 3.0.1
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 22 API, 2012 Sprint 22
ComponentsAndroid
LabelsSupportTeam, api, triage
ReporterVarun Joshi
AssigneeHieu Pham
Created2012-10-20T16:05:48.000+0000
Updated2012-12-18T19:24:01.000+0000

Description

Issue

If compiled on Android with android:targetSdkVersion="16" specified in tiapp.xml, the textField component background/border and cursor are invisible. This happens on the KitchenSink too(TextField -> Soft Input Foxus).

Steps to Reproduce

1. In the KitchenSink app, specify the targetSDKVersion property in tiapp.xml to 16. 2. Run the Kitchen Sink app and navigate to TextField -> Soft Input Focus Also, switch UI component looks as its bottom was cutoff and its "on" indicator looks very thin.

Attachments

FileDateSize
Screen Shot 2012-10-20 at 10.05.31 AM.png2012-10-20T17:07:24.000+000021941

Comments

  1. Hieu Pham 2012-10-25

    This is by design: http://stackoverflow.com/questions/13038137/why-does-edititext-control-not-show-border-of-box. Modifications will be made to KS to make the text fields more visible, i.e setting the "hint" property.
  2. Ping Wang 2012-10-25

    PR https://github.com/appcelerator-developer-relations/KitchenSink/pull/66
  3. Varun Joshi 2012-10-25

    Is this also the case with the switch appearance?
  4. Hieu Pham 2012-10-25

    Yes, I believe so. http://developer.android.com/guide/topics/ui/controls/togglebutton.html
  5. Ping Wang 2012-10-26

    3_0_X PR: https://github.com/appcelerator-developer-relations/KitchenSink/pull/67
  6. Tamila Smolich 2012-12-18

    Closing as fixed. Tested and verified on: Titanium Studio, build: 3.0.0.201212131639 Titanium SDK, build: 3.0.0.v20121212184921 Devices: LG Nexus 4 (4.2); HTC Evo (4.0.3)

JSON Source