Ich versuche, einen anderen App-Namen für eine Aktivität "Mein Profil Foto" zu haben, aber es scheint nicht angezeigt werden, auch wenn ich habe android:label="My Profile Pic"
auf die jeweilige Aktivität gegeben die Manifest-Datei:Android Studio Android: Label für eine andere Aktivität zeigt nicht den App-Namen [funktioniert nicht]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.aditya.myprofile">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity"
android:label="My Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ProfilePhoto"
android:label="Profile Pic" ></activity>
</application>
</manifest>
Der XML-Entwurf:
Die Android App-Name Raum ist leer
Wohin gehe ich falsch?
Mögliche Duplikat von [Wie Sie den Text auf der Aktionsleiste ändern] (https://stackoverflow.com/questions/3438276/How-to-Change-the-Text-on-the-Action-Bar) – guisantogui