Posts

Showing posts with the label Android Bottom Tabs

BottomNavigation in Android Using Support Library

Image
Step: 1 ====== Add latest support library to build.gradle file under app folder compile 'com.android.support:design:25.0.0' Step: 2 ====== create an xml file under menu folder for the bottom navigation. bottom_bar_menu.xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" > <item android:id= "@+id/action_hotnews" android:enabled= "true" android:icon= "@drawable/ic_whatshot_white_24px" android:title= "@string/news" app:showAsAction= "ifRoom" /> <item android:id= "@+id/action_movies" android:enabled= "true" android:icon= "@drawable/ic_movie_white_24px" android:title= "@string/movies" app:showAsAction= "ifRoom" /> &l

Android Bottom Tabs with ViewPagerIndicator Libary

Image
Hello, In previous post, I have used ViewPagerIndicator Libary from JakeWharton with ActionBarCompat Libary. We Can Place Tabs in the bottom in android through VPI Library. Android Design Guideliness suggests tabs must in the top. But this is not a recommended. This is the ScreenShot of the app Source code will be updated soon in the Dropbox