{ "id": "112888", "key": "TIMOB-13567", "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": [ { "id": "15401", "description": "2013 Sprint 08 Core", "name": "2013 Sprint 08 Core", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-29T23:31:14.000+0000", "created": "2013-04-15T21:32:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "39409", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "133876", "key": "TIDOC-1797", "fields": { "summary": "Correct/clarify discussion about in Icons/Splash screen Android docs", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27904", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113040", "key": "TIDOC-1116", "fields": { "summary": "Android: Add a section in themes guide on how to set cursor color for android 3.0 and above", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:23:21.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": "Steps to reproduce:\r\n\r\n1. Add the following in your tiapp.xml:\r\n\r\n{code}\r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n2. Use the following app.js:\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tnavBarHidden : true\r\n});\r\n\r\nvar pw = Ti.UI.createTextField({\r\n\ttop : 20,\r\n\tleft : 10,\r\n\tright : 10,\r\n\tpasswordMask : true,\r\n\tbackgroundColor : 'white'\r\n});\r\nwin1.add(pw);\r\n\r\nwin1.open(); \r\n{code}\r\n\r\n3. Click on the text field when the app is launched, and the cursor is white by default, which makes it nearly invisible.\r\n\r\nNOTE: This is related to heavyweight windows. If you comment out navBarHidden, this bug does not appear.", "attachment": [], "flagged": false, "summary": "Android: Textfield cursor not visible when setting API level to 11 or above", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "247773", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "The same problem exists with Ti.UI.Picker. If you substitute the TextField for a Picker, the default text is White with no way to change the color.", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-16T15:13:04.000+0000", "updated": "2013-04-16T15:13:04.000+0000" }, { "id": "247803", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Another test case that seems to be related to this:\n\n{code}\nvar win1 = Titanium.UI.createWindow({\n\ttitle : 'Tab 1',\n\tbackgroundColor : '#000',\n\tbackgroundImage : '/default.png',\n\tnavBarHidden : true,\n});\n\nscoreTypePicker = Ti.UI.createPicker({\n\tbackgroundColor : '#fff',\n\tfont : {\n\t\tfontSize : 18,\n\t\tfontWeight : 'bold',\n\t},\n\ttextAlign : 'center',\n\tselectionIndicator : true,\n\ttype : Titanium.UI.PICKER_TYPE_PLAIN\n}); \n\nscoreTypePicker.add([\nTi.UI.createPickerRow({title:'test 1'}),\nTi.UI.createPickerRow({title:'test 2'}),\nTi.UI.createPickerRow({title:'test 3'}),\nTi.UI.createPickerRow({title:'test 4'}),\n]);\nwin1.add(scoreTypePicker);\n\nwin1.open();\n{code}", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-16T17:13:38.000+0000", "updated": "2013-04-16T17:13:38.000+0000" }, { "id": "247840", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "I am having a similar issue when I tap into the TextField it highlights for less than a second, then looses focus.\r\nTi SDK 3.1.0.v20130409124549\r\nMac OSX for an Android App (Target Android SDK 2.3.3 & 3.0 both cause this issue)\r\n\r\n{code}\r\nvar loginTableView = Titanium.UI.createTableView({top:'0dp', left:'0dp', headerView: loginTableHeader, backgroundColor:'transparent',scrollable: false});\r\n\r\nvar userEmailrow = Ti.UI.createTableViewRow({height:'44dp', className:'accountLogin', backgroundColor:'white'});\r\n var userLabel = Ti.UI.createLabel({\r\n text : L('usernameEmail'),\r\n color : '#2b3931',\r\n font : {fontSize:'15dp'}, left : 0, width: '131dp', height: '30dp',\r\n textAlign : 'right'\r\n });\r\n userEmailrow.add(userLabel);\r\n var userTF = Titanium.UI.createTextField({\r\n height:'auto', top:'0dp', left:'141dp', width:'179dp',\r\n font: {fontSize: '15dp', fontColor:'#000000'},\r\n hintText:L('usernameemail'), autocorrect: false, //autocapitalization: false,\r\n keyboardType : Ti.UI.KEYBOARD_EMAIL, returnKeyType : Ti.UI.RETURNKEY_NEXT, \r\n softKeyboardOnFocus: Titanium.UI.Android.SOFT_KEYBOARD_SHOW_ON_FOCUS,\r\n });\r\n userTF.addEventListener('focus',function(){\r\n setTimeout(function(){ userTF.focus(); },300);\r\n });\r\n userTF.addEventListener('return', function(e) {\r\n passwordTF.focus();\r\n });\r\n userEmailrow.add(userTF);\r\n LoginDataRows[0] = userEmailrow;\r\n \r\n var passwordRow = Ti.UI.createTableViewRow({height:'44dp', className:'accountLogin', backgroundColor:'white'});\r\n var passwordLabel = Ti.UI.createLabel({\r\n text : L('Password'),\r\n color : '#2b3931',\r\n font : {fontSize:'15dp'}, left : 0, width: '131dp', height: '30dp',\r\n textAlign : 'right'\r\n });\r\n passwordRow.add(passwordLabel);\r\n var passwordTF = Titanium.UI.createTextField({\r\n height:'auto', top:'0dp', left:'141dp', width:'179dp',\r\n passwordMask: true,\r\n font: {fontSize: '15dp', fontWeight: 'bold', fontColor:'#000000'},\r\n hintText:L('password'),\r\n //returnKeyType : Ti.UI.RETURNKEY_JOIN, \r\n });\r\n passwordTF.addEventListener('focus',function(){\r\n setTimeout(function(){ passwordTF.focus(); },300);\r\n });\r\n{code}", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2013-04-16T21:19:23.000+0000", "updated": "2013-04-16T21:36:07.000+0000" }, { "id": "247857", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~underlabs] The code that you provided does not run. I had to change it to get it running:\n\n{code}\nvar win = Ti.UI.createWindow({\n\tnavBarHidden:true,\n\twindowSoftInputMode: Ti.UI.Android.SOFT_INPUT_ADJUST_PAN\n\n});\n\nvar loginTableView = Titanium.UI.createTableView({\n\ttop : '0dp',\n\tleft : '0dp',\n\tbackgroundColor : 'transparent',\n\tscrollable : false\n});\n\nvar userEmailrow = Ti.UI.createTableViewRow({\n\theight : '44dp',\n\tclassName : 'accountLogin',\n\tbackgroundColor : 'white'\n});\nvar userLabel = Ti.UI.createLabel({\n\ttext : 'usernameEmail',\n\tcolor : '#2b3931',\n\tfont : {\n\t\tfontSize : '15dp'\n\t},\n\tleft : 0,\n\twidth : '131dp',\n\theight : '30dp',\n\ttextAlign : 'right'\n});\nuserEmailrow.add(userLabel);\nvar userTF = Titanium.UI.createTextField({\n\theight : 'auto',\n\ttop : '0dp',\n\tleft : '141dp',\n\twidth : '179dp',\n\tfont : {\n\t\tfontSize : '15dp',\n\t\tfontColor : '#000000'\n\t},\n\thintText : L('usernameemail'),\n\tautocorrect : false, //autocapitalization: false,\n\tkeyboardType : Ti.UI.KEYBOARD_EMAIL,\n\treturnKeyType : Ti.UI.RETURNKEY_NEXT,\n\tsoftKeyboardOnFocus : Titanium.UI.Android.SOFT_KEYBOARD_SHOW_ON_FOCUS,\n});\nuserTF.addEventListener('focus', function() {\n\tsetTimeout(function() {\n\t\tuserTF.focus();\n\t}, 300);\n});\nuserTF.addEventListener('return', function(e) {\n\tpasswordTF.focus();\n});\nuserEmailrow.add(userTF);\n\nvar passwordRow = Ti.UI.createTableViewRow({\n\theight : '44dp',\n\tclassName : 'accountLogin',\n\tbackgroundColor : 'white'\n});\nvar passwordLabel = Ti.UI.createLabel({\n\ttext : 'Password',\n\tcolor : '#2b3931',\n\tfont : {\n\t\tfontSize : '15dp'\n\t},\n\tleft : 0,\n\twidth : '131dp',\n\theight : '30dp',\n\ttextAlign : 'right'\n});\npasswordRow.add(passwordLabel);\nvar passwordTF = Titanium.UI.createTextField({\n\theight : 'auto',\n\ttop : '0dp',\n\tleft : '141dp',\n\twidth : '179dp',\n\tpasswordMask : true,\n\tfont : {\n\t\tfontSize : '15dp',\n\t\tfontWeight : 'bold',\n\t\tfontColor : '#000000'\n\t},\n\thintText : 'password',\n\t//returnKeyType : Ti.UI.RETURNKEY_JOIN,\n});\npasswordTF.addEventListener('focus', function() {\n\tsetTimeout(function() {\n\t\tpasswordTF.focus();\n\t}, 300);\n});\n\npasswordRow.add(passwordTF);\nloginTableView.appendRow(userEmailrow);\nloginTableView.appendRow(passwordRow);\n\nwin.add(loginTableView);\nwin.open();\n{code}\n\nAnyways, the focus issue is a known native android issue with list views. When using textfields inside a tableview, you should always set the windowSoftInputMode to Ti.UI.Android.SOFT_INPUT_ADJUST_PAN (Like I have done in the test case above. When the soft keyboard comes up, it causes the table view to resize, and lose focus. It does not regain focus correctly after this. The workaround is to use soft input adjust pan to prevent it from resizing.\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-16T22:47:25.000+0000", "updated": "2013-04-16T22:47:25.000+0000" }, { "id": "247968", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "For editText cursor not being visible see\nhttp://stackoverflow.com/questions/7238450/set-edittext-cursor-color", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T18:09:10.000+0000", "updated": "2013-04-17T18:09:10.000+0000" }, { "id": "248087", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is native android behavior where the cursor color is automatically set by the Holo theme. If you want to avoid this behavior, you would essentially need to adjust the theme. \n\nYou can still use the holo theme and explicitly adjust the cursor color to match the text color by changing the theme. To do this, you need to set the 'android:textCursorDrawable' property (this property is only available on API 12 and above) to '@null'. To have your own custom theme, create a the theme.xml file under platform/android/res/values/theme.xml\n\nThe theme.xml file would look something like:\n\n{code}\n\n\n\t\n\t\n\t\n\n{code}\n\nNOTE: I still have a Theme.Titanium entry there since that is the default theme used for the main activity. If you leave this out, you will get a build error.\n\nThen in your tiapp.xml you will need to add the following entry to specify that your application will use the theme that you created:\n\n{code}\n \n \n \n \n \n \n{code}\n\nThis workaround will allow your app to have a cursor that inherits the color of your text. This will apply to all widgets in general if you plan on using the holo theme. For example, you may want to do something similar with the picker if there is an issue with that.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-18T00:52:04.000+0000", "updated": "2013-04-18T00:52:04.000+0000" }, { "id": "248174", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as invalid. This is actually native android behavior, and developers should be using their own themes if they don't want the default holo theme. If they want the holo theme, the theme.xml should be changed as mentioned to modify the holo theme.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-18T17:32:25.000+0000", "updated": "2013-04-18T17:32:25.000+0000" }, { "id": "288762", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "To hide title bar below @drawable/background \r\n\r\nadd: true\r\n\r\n\r\n(someone might find it useful :) )", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-19T11:46:44.000+0000", "updated": "2014-01-19T11:46:44.000+0000" }, { "id": "299316", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hi.\r\n\r\n\r\nI found one issue with custom themes on Nexus 5 phone with Android 4.4.2 version. If text field's height is defined, text or cursor is not visible (actually, you can see one dot only). So, to see this issue, change original code:\r\n\r\n{code}\r\nvar pw = Ti.UI.createTextField({\r\n top : 20,\r\n left : 10,\r\n right : 10,\r\n height: 20, // this makes cursor disappear \r\n passwordMask : true,\r\n backgroundColor : 'white'\r\n});\r\n{code}\r\n\r\n\r\nand run code.\r\n\r\n\r\n\r\nCan this issue be reopened until some workaround is provided? Setting text field's height seems pretty common use case. Thanks!", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-03-31T15:32:35.000+0000", "updated": "2014-03-31T15:33:38.000+0000" }, { "id": "299370", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "I suspect you don't see a cursor because the font is bigger than the field's hight... Can you try setting the font size to 12 or 13 (14 will be too big)?", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-31T20:21:55.000+0000", "updated": "2014-03-31T20:21:55.000+0000" }, { "id": "299473", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I tried that before but it didn't work. :(", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-04-01T08:52:44.000+0000", "updated": "2014-04-01T08:52:44.000+0000" }, { "id": "302629", "author": { "name": "c.wesseling", "key": "c.wesseling", "displayName": "Christofer Wesseling", "active": true, "timeZone": "Europe/Berlin" }, "body": "i have the same issue. no workaround yet. That't painful because i wouldn't have the problem if i develop android native.\r\nso it could be an issue for TI.", "updateAuthor": { "name": "c.wesseling", "key": "c.wesseling", "displayName": "Christofer Wesseling", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-04-26T07:50:58.000+0000", "updated": "2014-04-26T07:50:58.000+0000" }, { "id": "315453", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ivanskugor] is there anything special about your custom theme? Just want to make sure we have all the steps to reproduce.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-23T13:16:04.000+0000", "updated": "2014-07-23T13:16:04.000+0000" }, { "id": "315454", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "[~ingo], I am afraid Ivan will not reply, because his account has been migrated from lighthouse account and I had to fill my email in JIRA account. So I have got your question in email in result.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2014-07-23T13:26:53.000+0000", "updated": "2014-07-23T13:27:37.000+0000" }, { "id": "315457", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I got email :)\r\n\r\n\r\nHere is whole theme:\r\n\r\n{code}\r\n\r\n\r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-07-23T13:46:32.000+0000", "updated": "2014-07-23T13:46:32.000+0000" }, { "id": "315533", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "'20' for the height of a text field is too small to even see the text. If you change it to something like 100, the cursor shows up fine. Note that by default the cursor inherits the color from the theme, so I changed the color to 'black' so I could see the cursor better.\r\n\r\nI tried this on a Nexus 5 with 3.3.0.GA", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-23T20:56:21.000+0000", "updated": "2014-07-23T20:56:21.000+0000" }, { "id": "315600", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello.\r\n\r\nCan you explain why this works on every Android phone that I have (like 10 pieces)? It even works on Nexus 7 tablet and Nexus 5 emulator. The only device on which this doesn't work is Nexus 5.\r\nAre all other devices buggy?! :D\r\n\r\n\r\nSorry, but your workaround is just unacceptable, I can't change text field's height to 4 times bigger size - it will look ridiculous!\r\n\r\n\r\nWhy fontSize doesn't work? Why can't I change it so text fits to 20px height?\r\n\r\n\r\nI'm testing with 3.2.2.GA because 3.3.0.GA is buggy! I'll get to that when I catch some time :)\r\n\r\n\r\nIvan", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-07-24T08:36:40.000+0000", "updated": "2014-07-24T08:36:40.000+0000" }, { "id": "315634", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-24T16:02:47.000+0000", "updated": "2014-07-24T16:02:47.000+0000" }, { "id": "316227", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After some investigation from Ivan (thanks for your help). It looks like the cause was related to . In our docs we do mention setting this as the default which is a bug in the documentation. We have a ticket open to fix this. Otherwise, we don't really support the 'anydensity' value to be false since this is not recommended by google anyways: http://developer.android.com/guide/topics/manifest/supports-screens-element.html#any\r\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-29T23:31:07.000+0000", "updated": "2014-07-29T23:31:07.000+0000" }, { "id": "321037", "author": { "name": "Univers3", "key": "univers3", "displayName": "Damiano Hernando Rodriguez", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Ivan Skugor\r\nIs there a workaround for this?\r\nI have AnyDensity=false in my TiApp.xml too.\r\nA first workaround for the cutted text is to set de height of the TextField to \"Ti.UI.SIZE\".\r\nBut the cursor is not visibile with this fix.\r\n\r\nDo you have found any other way?", "updateAuthor": { "name": "Univers3", "key": "univers3", "displayName": "Damiano Hernando Rodriguez", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-08-29T16:15:30.000+0000", "updated": "2014-08-29T16:15:30.000+0000" }, { "id": "321220", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hi.\r\n\r\n\r\nUnfortunately I haven't found a workaround except changing anyDensity setting. That shouldn't be too hard to change, just make sure you use \"dip\" (density independent pixels) as default unit in tiapp.xml. That should solve lots of issues, you just need to be careful if you use platformWidth/Height (you'll need to make your own calculation by dividing that value with \"logicalDensityFactor\").\r\n\r\n\r\n\r\nIvan", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-01T11:57:11.000+0000", "updated": "2014-09-01T11:57:11.000+0000" }, { "id": "322261", "author": { "name": "louis.quaintance@first-utility.com", "key": "louis.quaintance@first-utility.com", "displayName": "Louis Quaintance", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi there,\r\n\r\nWe're getting the cursor to display on 3.3 using the following code:\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\nHowever it will not allow me to specify a drawable for the cursor.\r\n\r\nIf I create a drawable in platform/android/res/drawable called cursor_drawable.xml\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\nAnd then create a color.xml with the orange defined.\r\n\r\nAnd then specify in the theme, the android:textCursorDrawable to be drawable/cursor_drawable then it does not appear.\r\n\r\nAm I doing something wrong?", "updateAuthor": { "name": "louis.quaintance@first-utility.com", "key": "louis.quaintance@first-utility.com", "displayName": "Louis Quaintance", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-08T07:51:10.000+0000", "updated": "2014-09-08T07:51:10.000+0000" }, { "id": "416594", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed, if there are any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:23:21.000+0000", "updated": "2017-03-31T22:23:21.000+0000" } ], "maxResults": 23, "total": 23, "startAt": 0 } } }