マニフェストファイルのタイトルについて|Android開発
AndroidManifest.xmlでタイトル設定ができますが、どの設定がどこの表示に対応するか分かりにくいので調べてみました。
設定箇所と画面の関係
アプリ情報の名前
![androidアプリケーション名](https://moewe-net.com/wp-content/uploads/2019/07/android-application-title.png)
<application
android:label="設定値" >
アイコンのタイトル
![androidアイコンのタイトル](https://moewe-net.com/wp-content/uploads/2019/07/android-icon-title.png)
<activity
android:label="設定値" >
上記かつ、下記を設定しているアクティビティの設定値が使用されます。
未設定の場合は<application>
タグのandroid:label
が使用されます。
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
アクティビティのタイトル
![androidアクティビティのタイトル](https://moewe-net.com/wp-content/uploads/2019/07/android-activty-title.png)
設定箇所はアイコンのタイトルと同じです。アクティビティ毎に設定が可能です。メインのアクティビティでアイコンと異なるタイトルを使用したい場合はソースコードで設定します。
<activity
android:label="設定値" >