Difference(s):
android:src和tools:src**?**
如果有的话,什么时候认为在android:src上使用android:src是合适的?
发布于 2016-09-28 17:18:08
如果您在运行时在xml中使用android:src,这将显示在应用程序上,而如果在xml中使用tools:src,它将只显示在Android的预览上,而不会显示在应用程序的运行时。
发布于 2019-07-28 04:40:32
如果开始使用支持库(vectorDrawables.useSupportLibrary = true),请将tools:src更改为tools:srcCompat
https://stackoverflow.com/questions/39753804
复制相似问题