iamjoshuamabina iamjoshuamabina - 2 months ago 7
Android Question

Difference(s): android:src and tools:src?


Difference(s):
android:src
and
tools:src
?



If any, when is it considered proper to use
tools:src
over
android:src
?

Answer

If you are using android:src in xml during runtime this will show up on the app, whereas if you use tools:src in xml it will show only on the preview of Android studio and not on the runtime of the app.

Comments