]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/AndroidManifest.xml
Move favoriteIcon, urlTextBox, and progressBar to a custom view in the app 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         <activity
17             android:name=".Webview"
18             android:configChanges="orientation|screenSize"
19             android:label="@string/privacy_browser"
20             android:windowSoftInputMode="stateAlwaysHidden">
21             <intent-filter>
22                 <action android:name="android.intent.action.MAIN" />
23                 <category android:name="android.intent.category.LAUNCHER" />
24             </intent-filter>
25
26             <!-- android.intent.action.VIEW with the schemes enables processing of web intents. -->
27             <intent-filter>
28                 <action android:name="android.intent.action.VIEW" />
29                 <category android:name="android.intent.category.BROWSABLE" />
30                 <category android:name="android.intent.category.DEFAULT" />
31                 <data android:scheme="http" />
32                 <data android:scheme="https" />
33             </intent-filter>
34         </activity>
35     </application>
36
37 </manifest>