Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10550] Android: Tableview:Tableview row is displayed distorted in landscape mode.(specific to Galaxy Nexus)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-07-05T18:22:08.000+0000
Affected Version/sRelease 2.1.2
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and082012
ReporterShyam Bhadauria
AssigneeEric Merriman
Created2012-08-22T05:36:43.000+0000
Updated2017-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

FileDateSize
Galaxy nexus.png2012-08-22T05:36:43.000+000066090

Comments

  1. jithinpv 2013-03-18

    device specific
  2. Lee Morris 2017-07-05

    Closing with reference to the above comment.

JSON Source