]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/app_bar.xml
Create an "Add to Home Screen" AlertDialog.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / app_bar.xml
index a66e99f4ccf44c37eb149794f07fceef0c719282..0efa7a9069362086423bedac7c3be42a220b8851 100644 (file)
             android:layout_gravity="center"
             android:contentDescription="@string/favorite_icon"/>
 
-        <!-- android:inputType="textUri" sets the keyboard to have a go arrow. -->
+        <!-- android:imeOptions="actionGo" sets the keyboard to have a "go" key instead of a "new line" key. -->
+        <!-- android:inputType="textUri" disables spell check in the EditText and changes the "go" key from a check mark to an arrow. -->
         <!-- android:layout_weight="1" makes urlTextBox take up all the remaining space. -->
         <EditText
             android:id="@+id/urlTextBox"
             android:layout_width="0dp"
             android:layout_weight="1"
             android:layout_height="wrap_content"
-            android:inputType="textUri"
-            android:imeOptions="actionGo" />
+            android:imeOptions="actionGo"
+            android:inputType="textUri" />
     </LinearLayout>
 
     <!-- android:max changes the maximum ProgressBar value from 10000 to 100 to match progress percentage. -->