{ "id": "120244", "key": "TIMOB-16005", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-03-09T02:24:11.000+0000", "created": "2013-09-20T11:20:18.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "community", "notable" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "fmerzadyan", "key": "fmerzadyan2", "displayName": "Frankie Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-22T12:59: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": "in small android device > landscap mode > when we enter the focus in to textfied the area is get expanded to full screen \r\n---------------------------------\r\nhow to prevent this behavior?", "attachment": [], "flagged": false, "summary": "Android: Small device textfield issue in landscape mode", "creator": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 847, "state": "closed", "name": "2017 Sprint 05 SDK", "startDate": "2017-02-26T17:39:21.095Z", "endDate": "2017-03-12T17:39:00.000Z", "completeDate": "2017-03-12T19:14:38.838Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "272328", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi Jignesh Kasundra,\r\n\r\nCould you share some test case.I think your textfield height is not set properly as a result you face this problem.\r\n\r\nThanks ", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-21T13:39:00.000+0000", "updated": "2013-09-21T13:39:51.000+0000" }, { "id": "272372", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi Jignesh Kasundra,\r\n\r\nI have tested this in small device in landscape mode it works well. Here is the code so lets try it\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white',\r\nlayout:'vertical'\r\n});\r\n\r\n\r\n// Create a TextField.\r\nvar aTextField = Ti.UI.createTextField({\r\n\theight : Titanium.UI.SIZE,\r\n\ttop : 10,\r\n\twidth : Titanium.UI.FILL,\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\n\r\n// Listen for return events.\r\naTextField.addEventListener('return', function(e) {\r\n\taTextField.blur();\r\n\talert('Input was: ' + aTextField.value);\r\n});\r\n\r\n// Add to the parent view.\r\nwin.add(aTextField);\r\n\r\n\r\n// Create a TextField.\r\nvar aTextField1 = Ti.UI.createTextField({\r\n\theight : Titanium.UI.SIZE,\r\n\ttop : 10,\r\n\twidth : Titanium.UI.FILL,\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\n\r\n// Listen for return events.\r\naTextField1.addEventListener('return', function(e) {\r\n\taTextField1.blur();\r\n\talert('Input was: ' + aTextField1.value);\r\n});\r\n\r\n// Add to the parent view.\r\nwin.add(aTextField1);\r\nwin.open();\r\n\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\nThanks", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-22T05:11:50.000+0000", "updated": "2013-09-22T05:13:42.000+0000" }, { "id": "273136", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi.... Motiur Rahman\n\n\nthis solution is not working for me when i test one titanium android emulator landscape mode or also on small device....\n\nmy problem is just like --------> http://developer.appcelerator.com/question/145494/disable-fullscreen-textareakeyboard-while-landscape-in-android\n\n\nNote:-\n-------------\nwe can set this behavior in navite android app. \nhttp://developer.android.com/guide/topics/ui/controls/text.html\n\nbut how with titanium?\n\n\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-27T07:24:19.000+0000", "updated": "2013-09-27T07:24:19.000+0000" }, { "id": "273364", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi.... Motiur\r\n\r\ndo you checked above stuff ...?\r\n\r\n \r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T13:53:49.000+0000", "updated": "2013-09-30T13:54:17.000+0000" }, { "id": "284704", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening and moving this ticket to TIMOB as an enhancement request. Android provides a way to override the default behavior by way of android:imeOptions attribute that we may want to consider exposing in Titanium SDK.\n\nhttp://developer.android.com/guide/topics/ui/controls/text.html\nSection: Adding Other Keyboard Flags\n\nRelated Q&A threads:\nhttps://developer.appcelerator.com/question/145497/how-to-set-androidimeoptions-property\nhttp://developer.appcelerator.com/question/145494/disable-fullscreen-textareakeyboard-while-landscape-in-android\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T06:06:42.000+0000", "updated": "2013-12-17T06:06:42.000+0000" }, { "id": "405190", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Test code:\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n layout: \"vertical\",\r\n backgroundColor: '#fff'\r\n});\r\n\r\n// --------------------- textfields\r\nvar tf1 = Ti.UI.createTextField({\r\n value: \"default\",\r\n left: 10,\r\n right: 10,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\",\r\n bottom: 10\r\n})\r\nvar tf2 = Ti.UI.createTextField({\r\n value: \"no fullscreen\",\r\n left: 10,\r\n right: 10,\r\n fullscreen: false,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\",\r\n bottom: 10\r\n})\r\nvar tf3 = Ti.UI.createTextField({\r\n value: \"fullscreen\",\r\n left: 10,\r\n right: 10,\r\n fullscreen: true,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\"\r\n});\r\n// --------------------- Textarea\r\nvar ta1 = Ti.UI.createTextArea({\r\n value: \"default\",\r\n left: 10,\r\n right: 10,\r\n height: 40,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\",\r\n bottom: 10\r\n});\r\nvar ta2 = Ti.UI.createTextArea({\r\n value: \"no fullscreen\",\r\n left: 10,\r\n right: 10,\r\n height: 40,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\",\r\n bottom: 10\r\n});\r\nvar ta3 = Ti.UI.createTextArea({\r\n value: \"fullscreen\",\r\n left: 10,\r\n right: 10,\r\n height: 40,\r\n color: \"#000\",\r\n borderWidth: 1,\r\n borderColor: \"#000\",\r\n bottom: 10\r\n});\r\n\r\n// test methods\r\nconsole.log(tf1.getFullscreen());\r\nconsole.log(tf2.fullscreen);\r\nconsole.log(tf3.fullscreen);\r\nta2.fullscreen = false;\r\nta3.setFullscreen(true);\r\n\r\nwin.add(tf1);\r\nwin.add(tf2);\r\nwin.add(tf3);\r\nwin.add(ta1);\r\nwin.add(ta2);\r\nwin.add(ta3);\r\nwin.open();\r\n\r\n{code}\r\n\r\nDemo gif: \r\n!http://migaweb.de/key.gif!\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/8785", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-24T17:53:58.000+0000", "updated": "2017-01-24T17:53:58.000+0000" }, { "id": "405199", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks [~michael]! :-) Scheduling for 6.2.0 for now, depending on the progress we made for 6.1.0 the next weeks. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-24T18:18:08.000+0000", "updated": "2017-01-24T18:18:08.000+0000" }, { "id": "417993", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~michael] Could you create a 6_1_X backport for this? The team wants to include it into 6.1.0 as well. We'd do it otherwise, no problem! Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-25T08:39:58.000+0000", "updated": "2017-04-25T08:39:58.000+0000" }, { "id": "418013", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~hansknoechel] it looks like that is already in 6_1_X :-)", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-25T15:24:25.000+0000", "updated": "2017-04-25T15:24:25.000+0000" }, { "id": "418014", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Whoops, you're right!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-25T15:37:37.000+0000", "updated": "2017-04-25T15:37:37.000+0000" }, { "id": "419337", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in 6.1.0.v20170508081747.\r\n\r\nStudio Ver: 4.9.0.201704240654\r\nSDK Ver: 6.1.0.v20170508081747\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.2\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.0\r\nTi CLI Ver: 5.0.12\r\nAlloy Ver: 1.9.11\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: > google Nexus 6 --- Android 6.0.1\r\n > google Nexus 6P --- Android 7.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-08T21:19:50.000+0000", "updated": "2017-05-08T21:20:56.000+0000" }, { "id": "420115", "author": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Amazinggg!!!!! Thanks for this", "updateAuthor": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-22T12:59:03.000+0000", "updated": "2017-05-22T12:59:03.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }