Android remove ActionBar / TitleBar

sapan
I want to remove the action bar/ Title bar from my app to make it full screen. Below is the method which helped.





#Method 1


<application    android:allowBackup="true" 
   android:icon="@mipmap/ic_launcher"   
 android:label="@string/app_name"  
  android:supportsRtl="true"    
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

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

I just changed the theme with NoActionBar and it worked.

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !