0

I want to remove the Android notification bar/panel (in my original post I said service bar) at the top of the screen when you swipe down. I have read multiple questions but can't find the solution in an easy explanation. I want to use it for kiosk mode. Can someone help me out and explain where I have to add the code.

Thanks!

EDIT: I found this question on the website: Disable the notification panel from being pulled down i want to know which code i can add and where in android studio.

Doron Yakovlev Golani
  • 5,188
  • 9
  • 36
  • 60

1 Answers1

0

You mean the "ActionBar"?.

You can remove "ActionBar" by adding "android:theme="@style/AppTheme.NoActionBar" to the Activity tag in AndroidManifest.xml like below.

    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:theme="@style/AppTheme.NoActionBar">
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>

            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>
Chan9er
  • 1
  • 2