Programming/android2019. 1. 24. 10:16

manifests/AndroidManifest.xml 에서 android:label로 존재하는데 이걸 바로 수정해도 되지만

 <?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myapplication">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>



res/values/strings.xml 에 app_name 이라는 string이 존재하고 이걸 변경하면 된다.

 <resources>

    <string name="app_name">My Application</string>
</resources>


[링크 : https://stackoverflow.com/questions/5443304/how-to-change-an-android-apps-name]

[링크 : https://chobbang.tistory.com/16]

Posted by 구차니
Programming/android2019. 1. 24. 09:58

Do IT 책을 보는데 나랑 다르게 나와서 헤매다가 찾아보니..

눈깔 아이콘에 Show Layout Decorations를 눌러야 상단의 앱 이름이 뜬다.



머.. 그렇다고 해서 My Application 이라는 명칭을 클릭해서 바꿀수 있는건 또 아니니...


Posted by 구차니