Can someone suggest how to implement progress dialog inside a Button
for example , when I click on submit Button
then progress dialog occurs inside Button
for showing loading
I don't want to block other UI elements
You may go with Nilesh answer or if you're not willing to use third party lib, it is quite easy to write your own. All you have to do is to create a custom view extending RelativeLayout or FrameLayout.
This link might might help.