Android Studio(2.2或更高版本)包括一个称为Vector Asset Studio的工具,可帮助您将Adobe Photoshop文档(PSD)文件作为矢量可绘制资源添加到您的项目中。
我点击了以下链接,但没有运气。
https://developer.android.com/studio/write/vector-asset-studio.html
当我尝试将其转换时,我得到的只是这个
<vector android:height="24dp" android:viewportHeight="200"
android:viewportWidth="200" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"/>
Run Code Online (Sandbox Code Playgroud)
并且在Vector Asset Studio中不会显示任何预览。
android android-assets android-drawable android-vectordrawable
我试图在xml文件中添加GridView的子视图,但它给出了错误,并且它与GridLayout一起工作正常.所以我想知道..在Android中有什么区别b/w GridView和GridLayout?