Author: manishkpr

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

Android Navigation Drawer Example Using Fragments

The Navigation Drawer is a panel that transitions in from the left edge of the screen and displays the app’s main navigation options. Today I am going to show you how to implement android navigation drawer. Android navigation drawer support Android 3.0+  version. Add DrawerLayout to your xml file activity_main.xml View the code on Gist.   Create xml file fragment_one.xml View the code on Gist.   Create xml file fragment_two.xml View the code on Gist.   Create xml file  fragment_three.xml View the code on Gist.   create java file MainActivity.java View the code on Gist.   Create java file FragmentOne.java...

Read More

Android Menu Drawer Example

Hi Guys Today I am going to show you how to use MenuDrawer in your android app. Menu Drawer is a slide-out menu implementation, which allows users to navigate between views in your app. Most commonly the menu is revealed by either dragging the edge of the screen, or clicking the ‘up’ button in the action bar. Menu Drawer is a library that’s implemented by JakeWharton. Download the MenuDrawer library and import it in your project. then create the Base Activity.java file as below BaseActivity.java View the code on Gist. Create SlidingGetSet.java file View the code on Gist. Create SlidingNavAdapter.java file View the...

Read More

Find me on Google Plus

My Facebook Page