]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/AndroidManifest.xml
Remove label from the action bar.
[PrivacyBrowserAndroid.git] / app / src / main / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3     package="com.stoutner.privacybrowser" >
4
5     <uses-permission android:name="android.permission.INTERNET" />
6
7     <application
8         android:allowBackup="false"
9         android:fullBackupContent="false"
10         android:icon="@mipmap/ic_launcher"
11         android:label="@string/privacy_browser"
12         android:theme="@style/AppTheme" >
13
14         <!-- configChanges orientation and screenSize makes the app not reload when the orientation changes. -->
15         <!-- windowSoftInputMode stateAlwaysHidden hides the keyboard when the app starts. -->
16         <!-- Setting the label as null removes it from the action bar. -->
17         <activity
18             android:name=".Webview"
19             android:configChanges="orientation|screenSize"
20             android:label=""
21             android:windowSoftInputMode="stateAlwaysHidden">
22             <intent-filter>
23                 <action android:name="android.intent.action.MAIN" />
24                 <category android:name="android.intent.category.LAUNCHER" />
25             </intent-filter>
26
27             <!-- android.intent.action.VIEW with the schemes enables processing of web intents. -->
28             <intent-filter>
29                 <action android:name="android.intent.action.VIEW" />
30                 <category android:name="android.intent.category.BROWSABLE" />
31                 <category android:name="android.intent.category.DEFAULT" />
32                 <data android:scheme="http" />
33                 <data android:scheme="https" />
34             </intent-filter>
35         </activity>
36     </application>
37
38 </manifest>