Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

android

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

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

like image 587
joshuamabina Avatar asked Sep 28 '16 17:09

joshuamabina


1 Answers

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.

like image 128
Somasundaram Mahesh Avatar answered Oct 18 '22 08:10

Somasundaram Mahesh