]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/activity_webview.xml
Add menu entry for home.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / activity_webview.xml
index 20dbfeb5e48e1d18202e0ee55332596122b3d7b0..d214b1b456b7bcdd07744058f4331ab4e66a3e4e 100644 (file)
@@ -11,6 +11,7 @@
         android:orientation="horizontal"
         android:id="@+id/topBarLayout">
 
+        // android:inputType="textUri" sets the keyboard to have a go arrow.
         <EditText
             android:id="@+id/urlTextBox"
             android:layout_width="0dp"
@@ -28,6 +29,7 @@
             android:layout_height="wrap_content" />
     </LinearLayout>
 
+    // FrameLayout lets the ProgressBar float on top of the WebView.
     <FrameLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
@@ -42,6 +44,7 @@
             android:focusable="true"
             android:focusableInTouchMode="true" />
 
+        // android:max changes the maximum ProgressBar value from 10000 to 100 to match progress percentage.
         <ProgressBar
             android:id="@+id/progressBar"
             style="?android:attr/progressBarStyleHorizontal"