]> Pileus Git - ~andy/freeotp/blobdiff - res/layout/manual.xml
Add ScrollView to manual token entry
[~andy/freeotp] / res / layout / manual.xml
index 145d32bc32b41be91cf427db29bfc1c52094bfb4..e77430e1ff0532b62e171bd7a2212d149d1d1668 100644 (file)
@@ -18,7 +18,7 @@
    - See the License for the specific language governing permissions and
    - limitations under the License.
    -->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent" >
     <TableLayout
@@ -42,6 +42,7 @@
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
                 android:layout_weight="1"
+                android:inputType="textNoSuggestions"
                 android:hint="jdoe@example.com"
                 android:textAppearance="?android:attr/textAppearanceSmallInverse" />
         </TableRow>
                 android:text="@string/id" />
 
             <EditText
-                android:id="@+id/id"
+                android:id="@+id/label"
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
                 android:layout_weight="1"
+                android:inputType="textNoSuggestions"
                 android:hint="18c5d06cfcbd4927"
                 android:textAppearance="?android:attr/textAppearanceSmallInverse" />
         </TableRow>
@@ -83,6 +85,7 @@
                 android:layout_height="match_parent"
                 android:layout_weight="1"
                 android:digits="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ234567="
+                android:inputType="textVisiblePassword|textCapCharacters|textNoSuggestions"
                 android:hint="(Base32 encoded)"
                 android:textAppearance="?android:attr/textAppearanceSmall" />
         </TableRow>
             </RadioGroup>
         </TableRow>
     </TableLayout>
-</RelativeLayout>
\ No newline at end of file
+</ScrollView>