Following is the sample code to create a custom Broadcast Reciever (Local receiver ) in android.
Clikc here to download the sample code
Clikc here to download the sample code
#33------
and set it as background of your editText using the xml attribute android:background=" "