]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/AndroidManifest.xml
Refine progressBar height. Create onReceivedError toast.
[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     <!-- READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are required to download files. -->
7     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
8     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
9
10     <application
11         android:allowBackup="false"
12         android:fullBackupContent="false"
13         android:icon="@mipmap/ic_launcher"
14         android:label="@string/privacy_browser"
15         android:theme="@style/AppTheme" >
16
17         <!-- configChanges orientation and screenSize makes the app not reload when the orientation changes. -->
18         <!-- windowSoftInputMode stateAlwaysHidden hides the keyboard when the app starts. -->
19         <activity
20             android:name=".Webview"
21             android:configChanges="orientation|screenSize"
22             android:label="@string/privacy_browser"
23             android:windowSoftInputMode="stateAlwaysHidden">
24             <intent-filter>
25                 <action android:name="android.intent.action.MAIN" />
26                 <category android:name="android.intent.category.LAUNCHER" />
27             </intent-filter>
28
29             <!-- android.intent.action.VIEW with the schemes enables processing of web intents. -->
30             <intent-filter>
31                 <action android:name="android.intent.action.VIEW" />
32                 <category android:name="android.intent.category.BROWSABLE" />
33                 <category android:name="android.intent.category.DEFAULT" />
34                 <data android:scheme="http" />
35                 <data android:scheme="https" />
36             </intent-filter>
37         </activity>
38     </application>
39
40 </manifest>