3

AS-修改APP图标和名字

 3 years ago
source link: https://blog.csdn.net/yiself/article/details/101284936
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

AS-修改APP图标和名字

Also_easy 2019-09-24 14:54:23 48482
分类专栏: 安卓开发学习中

事先将图标图片放入drawable文件夹中并命名(不能含汉字)
在AndroidManifest.xml文件中找到android:icon行,引号内写入图片路径即可。

<application
        android:name="org.litepal.LitePalApplication"
        android:allowBackup="true"
        android:icon="这里填入图标文件路径"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

在AndroidManifest.xml文件中找到android:label行,ctrl+左键点击app_name(再点击最后一个app_name),打开strings.xml文件。修改内容。

<string name="app_name">在这填入你想要的名字</string>

或者打开values文件夹再打开strings.xml文件,做如上操作。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK