Difference between android and app

in xml we have code like

android:hint = “hint”

and

app:srcCompat= “value”

so what is the differnce between android and app and when they are used?

android is used for attribute from Android Sdk
app is used for the support library or custom defined attributes.

You may also see some other namespaces here other than android or app when you use some external libraries of custom views.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.