{ "id": "138185", "key": "TIMOB-18057", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-26T18:13:03.000+0000", "created": "2014-10-16T07:12:15.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupportTriage", "android", "border", "focus", "line", "textfield", "underline" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T18:13:03.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h4. Problem Description\r\nIn the Android OS TextFields should have a grey/black line underneath them when they are unfocused so users can see that it is an editable field. This line is not visible when the \"backgroundColor\" style is applied to any Windows/Views containing TextFields. This is a significant issue as it makes all TextFields look like Labels.\r\n\r\nThe blue \"focused\" line appears ok.\r\n \r\n \r\nh4. Steps to reproduce\r\n1. Create a simple project.\r\n2.Update app.js with test code\r\n{code} \r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff',\r\n exitOnClose: true,\r\n});\r\n\r\nvar aTextField2 = Ti.UI.createTextField({\r\n\theight : 35,\r\n\ttop : 10,\r\n\tleft : 40,\r\n\twidth : 240,\r\n\thintText : 'This is hint text',\r\n\tsoftKeyboardOnFocus : Ti.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS, // Android only\r\n\tkeyboardType : Ti.UI.KEYBOARD_DEFAULT,\r\n\treturnKeyType : Ti.UI.RETURNKEY_DEFAULT,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n});\r\nwin.add(aTextField2);\r\n\r\nvar aTextField = Ti.UI.createTextField({\r\n\theight : 35,\r\n\ttop : 100,\r\n\tleft : 40,\r\n\twidth : 240,\r\n\thintText : 'This is hint text',\r\n\tsoftKeyboardOnFocus : Ti.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS, // Android only\r\n\tkeyboardType : Ti.UI.KEYBOARD_DEFAULT,\r\n\treturnKeyType : Ti.UI.RETURNKEY_DEFAULT,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n});\r\nwin.add(aTextField);\r\nwin.open();\r\n{code}\r\n3. Run on android device\r\n \r\n", "attachment": [], "flagged": false, "summary": "Android: Setting \"backgroundColor\" on a Window or View hides the TextFields grey underline denoting that it is editable", "creator": { "name": "danr1979", "key": "danr1979", "displayName": "Dan Roberts", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "danr1979", "key": "danr1979", "displayName": "Dan Roberts", "active": true, "timeZone": "Europe/London" }, "environment": "Android app using Titanium SDK 3.4.0.201409261227-26092014122818 on Windows 7, testing on a HTC One device. My Titanium Studio build info is: Titanium Studio, build: 3.4.0.201409261227 Build: jenkins-titanium-rcp-master-197 (origin/master) Date: 26 September 2014, 12:28:18\r\n\r\n\r\n Ti SDK 3.4.0.GA\r\n Ti CLI 3.4.0\r\n Mac OS X 10.9.5\r\n Android 4.4.2\r\n", "comment": { "comments": [ { "id": "424819", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-26T18:13:03.000+0000", "updated": "2017-07-26T18:13:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }