[TIMOB-10550] Android: Tableview:Tableview row is displayed distorted in landscape mode.(specific to Galaxy Nexus)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2017-07-05T18:22:08.000+0000 |
Affected Version/s | Release 2.1.2 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and082012 |
Reporter | Shyam Bhadauria |
Assignee | Eric Merriman |
Created | 2012-08-22T05:36:43.000+0000 |
Updated | 2017-07-05T18:22:08.000+0000 |
Description
This is not a regression. It occurs as far as 1.8.2.
This issue is occurring only on Samsung Galaxy Nexus device. It is working fine on emulator android 2.2, Samsung GALAXY Note Android 2.3.6 and Motorola Milestone Android 2.2.1.
Steps to reproduce:
1. Use the code below and run the app
var win = Ti.UI.createWindow({
fullscreen : false ,
backgroundColor : 'white'
});
var tableView = Ti.UI.createTableView({
top : '0dp',
bottom : '0dp',
left : '0dp',
right : '0dp'
});
var numRows = 15;
var rows = [];
for (var i = 0; i < numRows; i++){
var tableViewRow = Ti.UI.createTableViewRow({
height : 'auto'
});
var textField = Ti.UI.createTextField({
top:'0dp',
left : '5dp',
right : '5dp',
borderColor : '#CCCCCC',
borderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL
});
tableViewRow.add(textField);
rows.push(tableViewRow);
}
tableView.data = rows;
win.add(tableView);
win.open();
2. Click any textfield to bring up the soft keyboard
3. With soft keyboard on screen, rotate the device to landscape mode.
4. Click on any textfield to bring up soft keyboard.
Expected result:
2. After step 2, the soft keyboard should pop up on the screen and textfield should remain focused for writing into it.
4. After step 4, soft keyboard is displayed with tableviewrow attached to it.
Actual result:
2. After step 2, the soft keyboard is not displayed on screen and focus on textfield is also lost.
4. After step 4, one more click is required to display soft keyboard.The tableviewrow is displayed detached from soft keyboard.Screenshot is attached.
Attachments
File | Date | Size |
---|---|---|
Galaxy nexus.png | 2012-08-22T05:36:43.000+0000 | 66090 |
device specific
Closing with reference to the above comment.