3

我是整个 Appcelerator 世界的新手,所以我有一个问题:

有人知道 appcelerator Titan 是否提供类似于此屏幕截图的滑块功能吗?

如果不是,那么第一个要查看的文档是什么?

不需要花哨的动画或任何东西,只需最简单的过渡。

在此处输入图像描述

我只需要钛的基本滑块,它的滑块选择器看起来像小圆圈(或者我可以修改或调整以适应定制需求的东西)。

另外,是的,我会以此为起点 http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Slider-object

但是该页面没有关于滑块对象的外观和行为的屏幕截图。

4

3 回答 3

6

您需要启用分页组件的 ScrollableView 控件。

http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.ScrollableView-object

于 2012-01-13T17:06:31.567 回答
1

For displaying such kind of progresbar or slider u have to create custom view and inside that custom view put as many as dots images as you have photos and just scrolling of each photos change dots image as per e.current / e.views ...

and set previous image to default image. and make it touch enabled = false.

于 2012-06-26T13:08:01.247 回答
1

ScrollableView 控件,具有分页功能。

关联

于 2014-05-14T10:08:43.397 回答