[TIMOB-10586] Android: Android - Contacts list window does not cover the full width span when device is in landscape mode.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-15T18:54:53.000+0000 |
Affected Version/s | Release 2.1.2 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and082012 |
Reporter | Anshu Mittal |
Assignee | Eric Merriman |
Created | 2012-08-24T01:34:16.000+0000 |
Updated | 2017-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();
Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.