]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/create_home_screen_shortcut_dialog.xml
Create an "Add to Home Screen" AlertDialog.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / create_home_screen_shortcut_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout
3     android:id="@+id/createHomeScreenShortcutDialogRelativeLayout"
4     xmlns:android="http://schemas.android.com/apk/res/android"
5     android:layout_width="match_parent"
6     android:layout_height="wrap_content" >
7
8     <!-- android:imeOptions="actionGo" sets the keyboard to have a "go" key instead of a "new line" key. -->
9     <!-- android:inputType="textUri" disables spell check in the EditText and changes the "go" key from a check mark to an arrow. -->
10     <!-- android:imeOptions="actionGo" sets the keyboard to have a "go" key instead of a "new line" key. -->
11     <EditText
12         android:id="@+id/shortcutNameEditText"
13         android:layout_width="match_parent"
14         android:layout_height="wrap_content"
15         android:layout_marginTop="16dp"
16         android:layout_marginLeft="4dp"
17         android:layout_marginRight="4dp"
18         android:layout_marginBottom="16dp"
19         android:imeOptions="actionGo"
20         android:inputType="textUri" />
21
22 </RelativeLayout>