{ "id": "107236", "key": "TIMOB-13871", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-05-29T14:05:35.000+0000", "created": "2013-01-01T13:09:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "supportTeam" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-24T17:51:33.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\nEven if you modify the returnKeyType, it won't work (it will show the arrow symbol always -- shows default --). \r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile Project\r\n2. Paste this as app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white', layout : \"vertical\"\r\n});\r\nwin.open();\r\n \r\nvar t1 = Ti.UI.createTextArea({\r\n left : 0, right : 0, keyboardType : Ti.UI.KEYBOARD_ASCII, returnKeyType : Ti.UI.RETURNKEY_DEFAULT\r\n});\r\nvar t2 = Ti.UI.createTextArea({\r\n left : 0, right : 0, keyboardType : Ti.UI.KEYBOARD_ASCII, returnKeyType : Ti.UI.RETURNKEY_DONE\r\n});\r\nvar t3 = Ti.UI.createTextArea({\r\n left : 0, right : 0, keyboardType : Ti.UI.KEYBOARD_ASCII, returnKeyType : Ti.UI.RETURNKEY_GO\r\n});\r\nvar t4 = Ti.UI.createTextArea({\r\n left : 0, right : 0, keyboardType : Ti.UI.KEYBOARD_ASCII, returnKeyType : Ti.UI.RETURNKEY_NEXT\r\n});\r\n \r\nwin.add(t1);\r\nwin.add(t2);\r\nwin.add(t3);\r\nwin.add(t4);\r\n{code}\r\n3. Click on any textarea, and you won't see any change.\r\n\r\nh4. Extra information\r\nhttps://developer.appcelerator.com/question/152424/android-display-next-or-done-on-keyboard\r\n\r\n\r\n", "attachment": [ { "id": "34430", "filename": "app.js", "author": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-01T13:09:00.000+0000", "size": 1308, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: returnKeyType does not work for textFied and textArea", "creator": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Mobile SDK 2.1.4 ,3.0.2, 3.1.0.GA \r\nAndroid SDK 2.3.3, 4.0.x\r\nDevices Tested: Sony Xperia Tipo T21\r\n", "comment": { "comments": [ { "id": "232850", "author": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Strange to know it works when i tested on Google Android API 2.3.3 But never works with Android API 2.3.3", "updateAuthor": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-02T06:18:45.000+0000", "updated": "2013-01-02T06:20:08.000+0000" }, { "id": "236317", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The google API includes Google Maps and other Google-specific libraries. The Android one only includes core android libraries.\r\n\r\nCan you please test on actual device? OS 2.2+ would be great in order to get a bug fix quicker. \r\n\r\nHope hearing from you soon, Muhammad.\r\n\r\nEdit: Tested on Razr 2.3.5 with 3.0 SDK Branch", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-28T22:05:37.000+0000", "updated": "2013-01-28T22:28:14.000+0000" }, { "id": "236984", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Please test and complete [Jira Checklist|http://docs.appcelerator.com/titanium/latest/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-JIRATicketChecklist] with required info.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-02T01:05:01.000+0000", "updated": "2013-02-02T01:05:01.000+0000" }, { "id": "252118", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Will complete the fields and upgrade it. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-05-15T19:02:09.000+0000", "updated": "2013-05-15T19:02:09.000+0000" }, { "id": "254534", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested with 3.2.0 and it works with textField. For textArea, since it can have multiline, Android will show 'return' to enter the carriage return, this is an Android behavior.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-29T14:05:35.000+0000", "updated": "2013-05-29T14:05:35.000+0000" }, { "id": "415583", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T17:51:33.000+0000", "updated": "2017-03-24T17:51:33.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }