Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10586] Android: Android - Contacts list window does not cover the full width span when device is in landscape mode.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-15T18:54:53.000+0000
Affected Version/sRelease 2.1.2
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and082012
ReporterAnshu Mittal
AssigneeEric Merriman
Created2012-08-24T01:34:16.000+0000
Updated2017-06-15T18:54:53.000+0000

Description

Contacts list window does not cover the full width span when device is in landscape mode. The issue occurs only on Samsung Galaxy tab. This is not regression since issue occurs on 2.1.1 GA Steps to reproduce: 1. Create an app using the code below. 2. Launch the app. 3. Rotate device to landscape. Actual: The contact list window does not cover the full width span. Expected: It should cover the full span in both landscape and portrait modes.


var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
		
		Titanium.UI.setBackgroundColor('#000');
		
		var info = Titanium.UI.createLabel({
		    color:'#999',
		    text:'I am Window 1',
		    font:{fontSize:20,fontFamily:'Helvetica Neue'},
		    textAlign:'center',
		    width:'auto'
		});
		// Create a Button.
		var btn1 = Ti.UI.createButton({
		    title : 'btn1',
		    height : 50,
		    width : 300,
		    bottom : 50
		});
		var values = {
		    cancel:function() {info.text = 'Cancelled';},
		    selectedPerson : function() {info.text = "select";}};
		// Listen for click events.
		btn1.addEventListener('click', function() {
		    Titanium.Contacts.showContacts(values);
		});
		// Add to the parent view.
		win1.add(btn1);
		win1.add(info);
		
		win1.open();

Comments

  1. Lee Morris 2017-06-15

    Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.

JSON Source