Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13753] Android: showPagingControl not working properly when anyDensity is set to 'true'

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-05-30T06:18:05.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 11
ComponentsAndroid
Labelsexalture
ReporterDavide Cassenti
AssigneeShameer Jan
Created2013-05-03T13:55:03.000+0000
Updated2017-03-21T21:35:56.000+0000

Description

Problem description

When anyDensity is true, showPagingControl is not properly working; the arrows to scroll are not shown.

Steps to reproduce

To test the bug, use the following code:
var win4 = Titanium.UI.createWindow();

var scrollableView = Titanium.UI.createScrollableView({
	showPagingControl : true,
	width : '100%',
	height : '100%'
});

scrollableView.addView(getView('red'));
scrollableView.addView(getView('green'));
scrollableView.addView(getView('blue'));

function getView(backgroundColor) {
	return Titanium.UI.createView({
		backgroundColor: backgroundColor
	});

}

win4.add(scrollableView);

win4.open();
When anyDensity is set to true in tiapp.xml, the code above will not show the arrows to scroll between the views.

Comments

  1. Shameer Jan 2013-05-30

    The issue cannot reproduce with master 3.2.0 Tested On: Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.2.0 Device: Samsung galaxy s duos Android version: 4.0.4
  2. Lee Morris 2017-03-21

    Closing ticket as the issue cannot be reproduced and due to the above comments.

JSON Source