Saturday, 30 June 2012

Android Removeing Title bar in Manifest


 Application level removing the Title bar

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mmad.salesapp"
    android:versionCode="1"
    android:versionName="1.0" >
    <uses-sdk android:minSdkVersion="14" />
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
        <activity
            android:label="@string/app_name"
            android:name=".Login"
            android:theme="@android:style/Theme.Holo" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="TabSelection"></activity>
  </manifest>


Activity Level removing the Title Bar

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mmad.salesapp"
    android:versionCode="1"
    android:versionName="1.0" >
    <uses-sdk android:minSdkVersion="14" />
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
       >
        <activity
            android:label="@string/app_name"
            android:name=".Login"
            android:theme="@android:style/Theme.Holo" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="TabSelection"
          android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"></activity>
  </manifest>


No comments:

Post a Comment