how to apply floating lable to edit text in android in java file instead of xml : I want to know is there any way we can apply floating lable for edit text using java instead of xml. If yes please tell me the way how to do the same.