]> hydra-www.ietfng.org Git - android-vcpass-oisafe/commitdiff
OI Safe: cleaned up keypad layout
authorrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Mon, 16 Feb 2009 00:41:20 +0000 (00:41 +0000)
committerrmceoin <rmceoin@72b678ce-9140-0410-bee8-679b907dd61a>
Mon, 16 Feb 2009 00:41:20 +0000 (00:41 +0000)
git-svn-id: http://openintents.googlecode.com/svn/trunk/Safe@1941 72b678ce-9140-0410-bee8-679b907dd61a

res/layout-land/keypad.xml [new file with mode: 0644]
res/layout/keypad.xml

diff --git a/res/layout-land/keypad.xml b/res/layout-land/keypad.xml
new file mode 100644 (file)
index 0000000..b9b3d73
--- /dev/null
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+* $Id$
+* 
+* Copyright (C) 2009 OpenIntents.org
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*      http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+-->
+ <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="fill_parent"
+    android:layout_height="wrap_content"
+    android:scrollbars="vertical">
+   
+<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    android:stretchColumns="1,2,3">
+
+    <TableRow>
+               <ImageView android:id="@+id/entry_icon"
+                       android:src="@drawable/icon_safe" />
+        <Button android:id="@+id/keypad1"
+               android:text="1" />
+        <Button android:id="@+id/keypad2"
+               android:text="2" />
+        <Button android:id="@+id/keypad3"
+               android:text="3" />
+    </TableRow>
+    <TableRow>
+               <TextView android:id="@+id/entry_header"
+               android:text="@string/app_name"
+                       android:textSize="24px" />
+        <Button android:id="@+id/keypad4"
+               android:text="4" />
+        <Button android:id="@+id/keypad5"
+               android:text="5" />
+        <Button android:id="@+id/keypad6"
+               android:text="6" />
+    </TableRow>
+    <TableRow>
+        <Button android:id="@+id/keypad7"
+               android:layout_column="1"
+               android:text="7" />
+        <Button android:id="@+id/keypad8"
+               android:text="8" />
+        <Button android:id="@+id/keypad9"
+               android:text="9" />
+    </TableRow>
+    <TableRow>
+        <Button android:id="@+id/keypad_star"
+               android:layout_column="1"
+               android:text="*" />
+        <Button android:id="@+id/keypad0"
+               android:text="0" />
+        <Button android:id="@+id/keypad_pound"
+               android:text="#" />
+    </TableRow>
+    <TableRow>
+        <Button android:id="@+id/keypad_continue"
+               android:layout_column="1"
+               android:layout_span="3"
+               android:text="@string/continue_text" />
+    </TableRow>
+</TableLayout>
+</ScrollView>
index 50160dc07eeeb036f2192aac6a18e7ff0d57be26..1ab6d5dc8bce2464d6eeefd28478e7a3e559403a 100644 (file)
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- 
+* $Id$
+* 
+* Copyright (C) 2009 OpenIntents.org
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*      http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+-->
+
  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     </TableRow>
     <TableRow>
         <Button android:id="@+id/keypad1"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="1" />
         <Button android:id="@+id/keypad2"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="2" />
         <Button android:id="@+id/keypad3"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="3" />
     </TableRow>
     <TableRow>
         <Button android:id="@+id/keypad4"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="4" />
         <Button android:id="@+id/keypad5"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="5" />
         <Button android:id="@+id/keypad6"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="6" />
     </TableRow>
     <TableRow>
         <Button android:id="@+id/keypad7"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="7" />
         <Button android:id="@+id/keypad8"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="8" />
         <Button android:id="@+id/keypad9"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="9" />
     </TableRow>
     <TableRow>
         <Button android:id="@+id/keypad_star"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="*" />
         <Button android:id="@+id/keypad0"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="0" />
         <Button android:id="@+id/keypad_pound"
+                       android:padding="20sp"
+                       android:textSize="30sp"
                android:text="#" />
     </TableRow>
     <TableRow>