我希望这些图像像它们一样,没有任何更改。我正在尝试添加默认情况下Android Studio提供的一些图像(资产类型:剪贴画)。
这些图像将用作应用主屏幕中的 ImageView
s,而其他地方则无处可获得。它不会用于任何通知,作为应用程序(启动器)图标或操作栏/选项卡图标。我应该选择哪种“图标类型”以在Android智能手机(而不是Android TV)应用程序的活动中使用的普通图像?
这是为应用程序创建图像的最佳方法吗?另外,当我将这些图像添加为 ImageView
s时,我是否应该从 drawable
或 mip Map
选项卡中选择一个图像?
可绘制:
MIP MAP:
我猜 的图像的背景和前景怎么办?实际上,如果图像看起来像原样,我实际上不在乎选择错误选项。
I want the images to be as they are, without any changes. I'm trying to add some images provided by Android Studio by default (Asset Type: Clip Art).
The images will be used as ImageView
s in the app's main screen and nowhere else. It won't be used for any notifications, as the app's (launcher) icon or as Action Bar/Tab icons. What "Icon Type" should I choose for normal images to be used in an Android smartphone (not an Android TV) app's activity?

Is this the best way to create images for an app? Also, when I'm adding these images as ImageView
s, should I choose the one from the Drawable
or Mip Map
tab?
Drawable:

Mip Map:

I guess this answer says it's Drawable as Mip Map is only for launcher icons. But, which one do I choose if it's the Drawable tab that I have to choose from? What if I want the image with both its background and foreground? I actually wouldn't care choosing the wrong option if the image looks as is.
发布评论
评论(1)
要在您的应用中使用剪贴画的图像,请访问可绘制的> vector Asset>选择您的clickArt>点击完成。
但是,更好的方法是在线上下载图标的.svg文件,然后在您的矢量资产创建者中选择本地SVG选项以在您的应用中使用它。
TO get images from clip art to be used in your app go to drawable>vector asset> select your clickart> click on finish.
The better way however is to go online and download .svg files for icons and then select local svg option in your vector asset creator to use it in your app.