<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="64dp" android:width="64dp" android:viewportHeight="600" android:viewportWidth="600"> <path android:name="example_path" android:fillColor="#000000" android:pathData="M200,300 l100,100 l-200,0 Z" /> </vector> ImageView imageView = findViewById(R.id.image_view); imageView.setImageResource(R.drawable.vector_image);


上一篇:
下一篇:
切换中文