Month: April 2014

Android Sliding Tabs Example

Android Sliding Tabs Example Hi, Guys Today I am going to show you how to develop sliding tabs with SlidingTabLayout and ViewPager. I got help from Android Developer WebPage  Sliding Tabs Example. Download source code   Output   First Add SlidingTabLayout and ViewPager to xml file fragment_sample.xml View the code on Gist. Create activity_main.xml file View the code on Gist. Create page_item.xml file View the code on Gist. Create page_item_2.xml file View the code on Gist. Create SlidingTabLayout.java file View the code on Gist. Create SlidingTabStrip.java file View the code on Gist. Create SlidingFragment.java File View the code on Gist....

Read More

Android ViewPager Example

Android ViewPager Example In this tutorial you will learn android horizontal view swiping with ViewPager. This feature has been showcased in several high profile applications like the Android Market application and the Google+ Android client. There are a number of classes in the Android compatibility package that can be used to implement horizontal page swiping behavior in your Android packages. The ViewPager control (android.support.v4.view.ViewPager) provides the horizontal swiping behavior. It can be used within your layouts much like a Gallery or other adapter-populated user interface control would be. The PagerAdapter (android.support.v4.view.PagerAdapter) class is used to define the data displayed by...

Read More

Find me on Google Plus

My Facebook Page