From: Soren Stoutner Date: Sat, 26 Sep 2015 19:51:33 +0000 (-0700) Subject: Add comments to the .xml files. X-Git-Tag: v1.0~50 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=19fa922d09043a0c8d0b6b01bdfad6a934572459;p=PrivacyBrowserAndroid.git Add comments to the .xml files. --- diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3f66b340..fb445db0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,6 +10,9 @@ android:icon="@mipmap/ic_launcher" android:label="@string/privacy_browser" android:theme="@style/AppTheme" > + + // configChanges orientation and screenSize makes the app not reload when the orientation changes. + // windowSoftInputMode stateAlwaysHidden hides the keyboard when the app starts. + + // android.intent.action.VIEW with the schemes enables processing of web intents. diff --git a/app/src/main/res/layout/activity_webview.xml b/app/src/main/res/layout/activity_webview.xml index 20dbfeb5..3244bb20 100644 --- a/app/src/main/res/layout/activity_webview.xml +++ b/app/src/main/res/layout/activity_webview.xml @@ -28,6 +28,7 @@ android:layout_height="wrap_content" /> + // FrameLayout lets the ProgressBar float on top of the WebView. + // android:max changes the maximum ProgressBar value from 10000 to 100 to match progress percentage.