Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a slider screen (As in Tweetdeck) in Android?

Tags:

android

screen

We want to create a screen which should have different list views and the user can slide (Left or right) to view another list view (just like in TweetDeck and in home screen on some Android OS version). There is also a list of dots which identify how many list views are there.

Please refer to the screen shot. alt text

Thanks in advance, Afzal.

like image 908
Afzal Avatar asked Nov 12 '10 06:11

Afzal


2 Answers

Found it: http://code.google.com/p/deezapps-widgets/

Works like a charm.

Thank you.

like image 135
Afzal Avatar answered Nov 08 '22 23:11

Afzal


In fact this control called ViewPager, now is supported by Android. You can check a compatibility package name android-support-v4.jar.

Some nice ViewPager samples with indicator is:

  • android-viewflow: https://github.com/pakerfeldt/android-viewflow

  • Android-ViewPagerIndicator: https://github.com/JakeWharton/Android-ViewPagerIndicator

P/s: Checkout my app: Android UI Patterns (https://market.android.com/details?id=com.groidify.uipatterns) for more nice UI Patterns.

like image 45
anticafe Avatar answered Nov 09 '22 00:11

anticafe