AppBarLayout is a vertical LinearLayout which implements various material design scrolling gestures.if you are not aware of Material Design refer here. AppBarLayout children should provide scrolling behaviour by setScrollFlags(int) or in XML by app:layout_scrollFlags="" Note: AppBarLayout depends heavily on being used as a direct child of Coordinator layout if you used with other ViewGroup its most of the … Continue reading Android AppBarLayout like Whatsapp Tutorial/Example
Navigation View was introduced with Material Design Support Library. Navigation is very easy to implement , so it is easy to customize it and looks great and is very smooth. If you are unaware of Material Design visit here.It is necessary you should have knowledge of Material Design. So, Lets start:- Navigation View has two Main … Continue reading Show Sliding Menu Using Navigation View Android Tutorial
Nowadays, Lot of application's use sliding menu to show the major functionality of their application.Applications like facebook, youtube, Gmail use sliding to navigate between major options. Now this sliding menu in android is done with the use of Navigation Drawer. So, Let's and add sliding menu to the application:- Will need the following to implement … Continue reading Showing Sliding Menu Using Navigation Drawer Android Tutorial
In this post, I will show you how to show alertDialog in Android. AlertDialog is used largely to show alerts or confirmation messages to the user. Alert Dialog is very easy to create. So, Let's Start:- Simple AlertDialog with "OK" Button //create alertDialogBuilder AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(MainActivity.this); // set title alertDialogBuilder.setTitle("CoderzPassion"); // set dialog … Continue reading How to show/display Alert Dialog/Dialog in Android.
In this Post, I will explain you step by step to integrate Google Plus Login in your Application. So, Let's Start: - To use Google Plus I will need the following: - Create the key by enabling google plus API and get a configuration file. add a dependency in the android studio or add google … Continue reading Android latest Google Plus Login Api Tutorial
Nowadays, Facebook login is very Popular in Android.In this post, I will describe how to log in with Facebook in Android Application. To work with Facebook login, I will need Facebook SDK 1.For Eclipse users download Facebook SDK and import in your project. 2.For Android Studio just add the following dependency in your build.gradle compile 'com.facebook.android:facebook-android-sdk:4.+' So, … Continue reading Android Facebook Login in Application using latest Facebook SDK Tutorial
Android Toast is used to display a message for the short interval on the screen .A toast contains a message which is displayed and disappears shortly notifying the user. Simple Toast can be shown like this. Toast.makeText(context,"CoderzPassion",Toast.LENGTH_SHORT).show(); Parameters: - Context Text message Duration of toast can be short, long or customised in milliseconds like below. Toast.makeText(context,"CoderzPassion",3000).show(); … Continue reading How to display/show a Toast in Android?
The animation in android will give a high-quality feel to the UI and nice look to your Application. Animations can be performed both by XML and Programmatically. In this post, I will describe some basics about XMl as well Programmatically Animations. Android also support Frame Animation to show animation frame by frame. So, Let's Start:- 1.First, I … Continue reading Android Working With Animation
In Frame Animation, several images are framed one by one to show Animation to a human eye.So, for frame animation, we will need the set of images that needs to be framed one by one to show the animation in android. Frame are animated over image view and each frame duration is specified to show the … Continue reading Android Frame Animation Tutorial/Example
In this post, I will tell you how to use checkbox in Listview. In Earlier posts, I had explained how to use ListView. So, Let's Start 1.To create Listview we need the following:- a.Model class whose object we store in ArrayList that we pass to adapter. b.Adapter class to be set to Listview. c.layout for adapter … Continue reading Android Checkbox and Textview in ListView Tutorial