为图标““mdpi”和“hdpi”Android Studio 使用自定义图像
Use custom image for icon "“mdpi” and ”hdpi” AndroidStudio
所以基本上我有我自己为我的应用程序制作的自定义图标,我知道如何通过 android 清单设置它,但是我是否必须自己调整图像大小或将 android 工作室为我做,还是我要求太多?谢谢
Android Studio 不调整图像大小。
您必须自己创建所有密度的图像。
它可能很有用 external tool 由 ROman Nurik 提供。
在 AndroidManifest
中,您 没有 指定文件夹。
你必须使用
<application
android:icon="@drawable/ic_launcher"
Android stuido 不会调整你的图片大小,你应该为不同的分辨率设置不同的图片,并相应地将它们添加到 drawable 文件夹中。
您可以使用 Android Assets Studio for making some basic icons or you can also use different plugins 创建图像。
所以基本上我有我自己为我的应用程序制作的自定义图标,我知道如何通过 android 清单设置它,但是我是否必须自己调整图像大小或将 android 工作室为我做,还是我要求太多?谢谢
Android Studio 不调整图像大小。
您必须自己创建所有密度的图像。
它可能很有用 external tool 由 ROman Nurik 提供。
在 AndroidManifest
中,您 没有 指定文件夹。
你必须使用
<application
android:icon="@drawable/ic_launcher"
Android stuido 不会调整你的图片大小,你应该为不同的分辨率设置不同的图片,并相应地将它们添加到 drawable 文件夹中。
您可以使用 Android Assets Studio for making some basic icons or you can also use different plugins 创建图像。