Reputation: 635
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:
Upvotes: 0
Views: 20230
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