
Search In
Android Toolbar widget is the new UI android components available in AppCompt v21. It works just like action bar. It can be used as action bar in a dialog with support from API 7 onwards . This tutorial helps to create a toolbar in android dialog dis
Synchronous means to process something serially but in the Asynchronous way you can process data simultaneously you don't need to wait for the first process to be completed.
In Android app we basically hit API to fetch lots of data from the serv
Using Toolbar in place of ActionBar:-
Nowadays ActionBar is getting replaced by toolbar, so it is good to use or get handy with new feature of Android i.e "ToolBar" , Here is the way to use toolbar in your Android Activity.
Step 1:- set the app the
1)Suppose need to pass value from MainActivity to SubActivity.We will first make xml of both Activity:
activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools
If you want to create Share Action Provider function check my below example. Here I have created frist main.xml. After creating main.xml I have added attribute to the menu item. In MainActivity created onCreateOptionsMenu method I sets the share acti
In the below example I have created Dialog Animation using windowAnimation. Here I have added DialogAnimation item in style.xml folder after that I have created a new dialoglayout.xml and added a image and button then in mainlayout I have added a but
In my previous blog I have explain how to create animation button in android. Now in this below example I have created new animation button which is alpha effictive.
Here I have added Button and TextView in activity_main xml layout then I have creat
In the below example I have created rotate animation button. In below code I have used scale and translate effect on rotate animation button. Here I have added Button in button i have used an img and added a TextView in activity_main xml layout
In the below example I have created a dialog button layout. Here I have created a main.activity layout, In main.xml layout first I have created Relative layout and added all layout in this Main Relative layout then I have created a
Since we know that the "Splash Screen" just appears for the few seconds as the app get start so we need to add the time for how much second the splash screen would be shown, so to add Splash screen in Android app follow the steps men