[TIMOB-5228] Show left/ right arrows permanently in a Scrollable View with multiple images
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-04T10:49:32.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-36, Release 1.8.0 |
Components | Android |
Labels | module_scrollableview, qe-testadded |
Reporter | Sandeep Bhimavarapu |
Assignee | Neeraj Gupta |
Created | 2011-09-07T16:10:36.000+0000 |
Updated | 2019-08-03T13:37:04.000+0000 |
Description
On Scrollable views with multiple images, the left and right arrows show up to indicate the user that they can scroll through. However, they show up only for a few seconds and they disappear later upon not touching. When the image is swiped, they appear again.
Is there any way to show these arrows all the time so as to visually let the user know that he/ she can swipe the images.
*Sample Code*
{noformat}
var win = Ti.UI.createWindow({ backgroundColor: 'white'});
var feature1 = Ti.UI.createImageView({ image: 'KS_nav_ui.png', height: "auto", width: "auto"});
var feature2 = Ti.UI.createImageView({ image: 'KS_nav_views.png', height: "auto", width: "auto" });
var feature3 = Ti.UI.createImageView({ image: 'KS_nav_ui.png', height: "auto", width: "auto" });
var feature4 = Ti.UI.createImageView({ image: 'KS_nav_views.png', height: "auto", width: "auto" });
var feature5 = Ti.UI.createImageView({ image: 'KS_nav_ui.png', height: "auto", width: "auto" });
var scrollView = Titanium.UI.createScrollableView({
views: [feature1, feature2, feature3, feature4, feature5],
showPagingControl: true,
clipViews: true
});
win.add(scrollView);
win.open();
{noformat}
The above code presents the normal expected behavior, but can the arrows be shown permanently?
Reopening bug. Arrows disappear after several seconds. Tested on: Titanium Studio, build: 2.1.1.201208091713 Titanium SDK, build: 2.2.0.v20120816015712 Devices: Nexus 7 tab (4.1.1), HTC Evo (4.0.3)
I have the same issue with SDK 7.5.2, arrows are not vissible after few seconds.