
Search In
Here I have created a RecyclerView app in android. In this app we have added item in RecyclerView and when we click on the item in RecyclerView the item will be removed. In this recycler view I have used notifyItem Inserted() and notifyItemRemoved()
Here I have created ProgressBar app in android in which I have used setProgress(), setMessage(), setProgressStyle(),setMax,show() function.
Below code example will help you to create RatingBar function in android.
Step(1)-activity_main.xml
<Re
Below code will help you to created SeekBar function in android. In android SeekBar is used by the end user, the user can drag the left and right to move the progress of runing file like audio song, video song etc. In the below code example, I have
1)Write activity_main.xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
and
Here I have created Animated waiting bar. It can be used to display page or when we have app open then it will shown status of work being complete.Progressbar class provide method to work on progress bar like setProgress(),setMessage,setProgressStyl
In many application we need to hide the title bar of Activity/Fragment Activity. For this we need to add following line in onCreate() method before calling setContentView()
requestWindowFeature(Window.FEATURE_NO_TITLE);
Example:-
public class Mai
This blog will help to create a custom edit text on button click.This tutorial includes a xml file which hold a button after click on button create a layout parmas for edit text. Each edit text has different id and every times when you click, a butto
Geocoding is the process of finding the geographical coordinates of the given location, So if you looking help to create Geo Location function see code example below. Here I have created edit text using place name for users. When User enters any plac
If you are looking to make Custom Font in android check the below code example. For this first download the required fonts on your system and then place it in fonts folder. After putting fonts in the assets/fonts folder then I have used java code thr
TextSwitcher is useful to animate a label on screen. TextSwitcher animates the current text out and animates the new text. In below example Frist I have created a main layout, In main layout I have added TextSwitcher attributes. See the below example