user1676640
user1676640

Reputation: 635

change android label name and color in androidmanifestfile

Hi i have to developed one sample app.Here i wish to select the app name is Admin Login and gravity is center and background color is #465371 ,textcolor is #ffffffff.now i have to run the app means the label name only changed here.the gravity and background,textcolor is does not change here.please give me solutions for this.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidlogin.ws"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="8" />

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <activity
        android:name=".AndroidLoginExampleActivity"
        android:label="Admin Login"  android:background="#465371" android:textColor="#ffffffff" android:gravity="center">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

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

  </manifest>

i got the o/p like this:

enter image description here

Upvotes: 0

Views: 20230

Answers (1)

Rahul Patel
Rahul Patel

Reputation: 3843

You can do all into your custom titlebar. For the custom titlebar check this link.

https://stackoverflow.com/a/3438352/1263679

Upvotes: 1

Related Questions