How to Implement top and bottom tab bar in android -


what easiest way implement top , bottom tab bar ,i searched lot.can me find out

if want create swap-able tab bar please use sample on below link: 1.

1.http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/ 2.http://javapapers.com/android/android-tab-layout-with-swipe-views/ 3.https://github.com/jakewharton/viewpagerindicator

for bottom, use 3rd link :

<com.viewpagerindicator.titlepageindicator     android:id="@+id/titles"     android:layout_height="wrap_content"     android:layout_width="fill_parent" /> 

bottom of view.

for non swap-able use sample on below link:

http://www.survivingwithandroid.com/2013/06/android-action-bar-with-tab.html http://javapapers.com/android/android-tab-layout-tutorial/ if want create bottom tab bar use:

android:layout_alignparentbottom="true" 

please use sample : http://envyandroid.com/align-tabhost-at-bottom/


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -