[TIMOB-9510] Android: ScrollableView: Scroll Arrow shown on View is in incorrect direction when app is launched with last view as starting view
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-15T14:19:23.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-12 API |
Components | Android |
Labels | api, module_scrollableview, qe-and060112, qe-testadded, regression |
Reporter | Satyam Sekhri |
Assignee | Vishal Duggal |
Created | 2012-06-12T22:43:05.000+0000 |
Updated | 2012-07-10T14:31:55.000+0000 |
Description
The scroll arrows shown on scrollable views is shown in incorrect direction on launch, when the app is launched which has the last view (of the scrollable view) as the starting view.
Regression. This does not occur on 2.0.2
Steps to Reproduce:
1. Create an application with the code below
2. Launch the application
3. The blue view (which is the second view out of two views) is shown to start off
Actual: A Scroll arrow is shown for few seconds in the right direction of the view, indicating next view in sequence. (Refer to attached screenshot)
Expected: The Scroll arrow should be in the left direction
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
var view1 = Ti.UI.createView(
{
backgroundColor:'red'
});
var view2 = Ti.UI.createView(
{
backgroundColor:'blue'
});
var scrollView = Titanium.UI.createScrollableView(
{
views:[view1,view2],
showPagingControl:true,
pagingControlHeight:30,
maxZoomScale:2.0,
currentPage:1,
height:340
});
var view = Ti.UI.createView(
{
});
view.add(scrollView);
win.add(view);
win.fullscreen = true;
win.open();
Attachments
File | Date | Size |
---|---|---|
ScrollableView_IncorrectArrow | 2012-06-12T22:43:05.000+0000 | 16071 |
Closing issue Tested with Ti Studio build 2.1.0.201206172244 Ti Mobile SDK2.1.0.v20120618134156 hash r00905cd0 OSX Lion 10.7.3 Nexus S OS 4.0.4 The expected behavior is shown