
Search In
In the below example I have created cycle animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created cycle.xml layout and In MainActivity I have use
In the below example I have created linear animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created linear.xml layout and In MainActivity I have u
In the below example I have created Overshoot animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created overshoot.xml layout and In MainActiv
We can read and inject the property from property file in spring. The below code will show you how you can read the property from property file and inject that properties to the List Object by using spring-config.xml file.
Customer.java
package com
The below example will help you to add new element in arrayList. So, when we have new element list item shifts the element currently at that postion and any subsequent elements to the right which will help to insert new element at the specified
To reset ArrayList we have two options, one is to use clear() method and another is to use removeAll().
We don’t need to worry if size of the ArrayList is small i.e. 10 to 100.
But if ArrayList size becomes huge the difference in the performance of
Here I have created RatingBar function in android. In android RatingBar can be used to get the rating from the user, it is also used for creating RatingBar. Below code example will described you how to make RatingBar function in Android.
Step(1)- ac
In the below example I have created custom ViewPager in android. Here first I have added TextView and ViewPager in activity_main.xml and In MainActivity I have used MyPagerAdapter class and extends with the PagerAdapter class , In resource i have add
Sometimes it is required to get all the accounts registered in device like facebook , gmail, linkedin account as well as whatsapp account.
Account Manager provides list of all centralized account of device.
First of all we can have the instance of
In the below layout code I have created a new user Sign Up form page. Here I have created first LinearLayout all layout added in this Main LinearLayout, In below code I have also added ScrollView, Relative layout, ImageView, TextView. In drawab
