0

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

user1676640
  • 635
  • 7
  • 17
  • 37
  • All you have to do is customize titlebar and use it in ur app. Refer http://stackoverflow.com/questions/2251714/set-title-background-color – Kartik Domadiya Oct 03 '12 at 07:40

1 Answers1

1

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

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

Community
  • 1
  • 1
Rahul Patel
  • 3,823
  • 5
  • 30
  • 46