
Search In
In the below example I have created Collapsing Toolbar function. Here I have created CoordinatorLayout and created all layout in CoordinatorLayout. Now I have added AppBarLayout, CollapsingToolbarLayout, ImageView, Toolbar, RecyclerView and FloatingA
If you want to show web pages without opening browser application in your android application then make the use of webview as I have done below:-
1) to make your application access the internet use the permission"<uses-permission android:nam
In the below code I have created Runnable Thread program in android. Here first I have added TextView in activity_main.xml layout. In MainActivity I have used handler class then I have created a new Runnable interface , And I have also used o
This tutorial explain how we can Play YouTube video within Fragment.
1. Create simple Fragment class extending Fragment.
2. Implement YouTubePlayer.OnInitializedListener to Fragment and override its methods.
3. Create FrameLayout in Layout
In the below example I have created a Collapsing toolbar. When you scoll your recycler items then your header image will hide. Here In actvity_main.xml I have first created CoordinatorLayout as root element, In CoordinatorLayout I have added AppBarLa
To implement Drawable Animation in Android follow the steps :-
1) Prepare a series of images with the individual frames of your animation. Add the images to your project’s drawable folder.
2) Declare a XML file that defines the animation sequence
Here for the scrolling Grid View I have use SectionPagerAdapter . Simply what I have done here is that , i have created a Fragment with a layout containing a grid view. And with the help of SectonpagerAdapter the fragment will inflate as many as time
In the below example I have created a commuication between an activity and fragments classes. In the below example user enters name in SendFragment part and click submit button then in second fragment on displayFragment show user name input result.
In the below example I have created a multiple fragment images use in common Frame .
In first step, First I have created a fragment_common.xml layout , here I have added four ImageView. After then I have created four new xml layout -(fragmen
Here I have created Set Wallpaper in device method. In the below example I have created two activity and two layouts and added some function code in Android Manifest. Below example will described you how to set Wallpaper in device.
Step(1)-MainAc