{ "id": "162060", "key": "TIMOB-23713", "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": "2019-09-19T21:20:26.000+0000", "created": "2016-07-26T07:10:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "hintText", "textfield" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-09-19T21:20:26.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": "When creating a TextField with alignment right and a hintText the cursor is placed on the left side of the text, which looks like it is actual text the user has to clear\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor:\"#fff\"});\r\nvar tf = Ti.UI.createTextField({\r\n textAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT,\r\n\twidth:200,\r\n\theight:40,\r\n\tborderColor: \"red\",\r\n\thintText: \"TestTest\",\r\n hintTextColor:\"#888\",\r\n color:\"#000\"\r\n});\r\nwin.add(tf);\r\nwin.open();\r\n{code}\r\n\r\non iOS the cursor is on the right side which looks better for the user.\r\n\r\nAndroid 6\r\nSDK 5.3.1.GA (and 5.4.0.v20160720201924)", "attachment": [], "flagged": false, "summary": "Android: TextField cursor before hintText when textAlign is RIGHT", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 5.3.1.GA\r\nAndroid 6.0.1", "comment": { "comments": [ { "id": "451515", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce on 8.1.1.GA SDK. \r\n\r\nAxway Appcelerator Studio, build: 5.1.4.201909061933 \r\nmacOS : 10.14.6\r\nNode.js Version : 8.9.1\r\nnpm Version : 5.5.1\r\nAppcelerator CLI : 7.1.1\r\nTitanium CLI\r\nCLI Version : 5.2.1\r\nnode-appc Version : 0.2.49\r\nTitanium SDKs : 8.1.1.GA\r\nAndroid API 29", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-19T21:20:26.000+0000", "updated": "2019-09-19T21:20:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }