开发者

is there a panorama or pivot UI control on android similar to the ones on windows phone 7?

does anyone know if there is a UI widget out there for android that is like the windows phone 7 panorama or pivot controls? if not, is there any tutorial that would guide me down the right pat开发者_开发知识库h in implementing my own?

any help is appreciated. thanks.


Yes, I was interested in the Pivot controls also.

Here's the best working resource I've found for Pivot-like functionality: http://viewpagerindicator.com/

Or, if you would like to see the official Android Developers' Guide about this, called ViewPager: http://developer.android.com/reference/android/support/v4/app/FragmentPagerAdapter.html


Not sure I entirely get what you want, but looking at this Pivot really is just tabs: take a look at the Tab Widget tutorial. Panorama is a bit more tedious: you can try embedding the View you want to pan into a HorizontalScroller. If it is wider than the screen it will let you scroll around horizontally. To get vertical panning as well wrap that with a ScrollView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜