Android Application Getting First Activity Name -


hi manifest below

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.mic.controller" android:versioncode="1" android:versionname="1.0" >  <uses-sdk     android:minsdkversion="8"     android:targetsdkversion="15" />  <application     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme" >     <activity         android:name=".mainactivity"         android:label="@string/title_activity_main" >         <intent-filter>             <action android:name="android.intent.action.main" />             <category android:name="android.intent.category.launcher" />         </intent-filter>                 </activity>  </application>  </manifest> 

my problem when install application name appears beneath application icon of

   android:label="@string/title_activity_main" 

and not

   android:label="@string/app_name" 

but when go setting->application->manage application second 1 appearing.

how can set application android:label="@string/app_name" see post no idea.

android:label in <activity> 

a user-readable label activity. label displayed on-screen when activity must represented user. it's displayed along activity icon. if attribute not set, label set application whole used instead

that's why application show name android:label="@string/title_activity_main" in first when go manage application shows default application name.

check this


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -