]> www.average.org Git - YkNeoCR.git/blobdiff - res/layout/main.xml
some layout
[YkNeoCR.git] / res / layout / main.xml
index 869a3a541c6e4923f888546e0a1b58d9921c06a1..38060ddb5e4bcea16cbe3d38b560cf79beb08140 100644 (file)
@@ -1,13 +1,38 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:orientation="vertical"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
+    tools:context=".NFCAuthCREnroll"
     >
-<TextView
-    android:layout_width="fill_parent"
-    android:layout_height="wrap_content"
-    android:text="Hello World, NFCAuthCR"
+    <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:orientation="horizontal"
+    >
+        <RadioButton android:id="@+id/slot_1"
+                     android:layout_width="wrap_content"
+                     android:layout_height="wrap_content"
+                     android:text="@string/slot_1"
+                     android:onClick="onSlotSelectionClicked"
+        />
+        <RadioButton android:id="@+id/slot_2"
+                     android:layout_width="wrap_content"
+                     android:layout_height="wrap_content"
+                     android:text="@string/slot_2"
+                     android:onClick="onSlotSelectionClicked"
+        />
+    </RadioGroup>
+    <Button
+        android:id="@+id/enroll"
+        android:text="@string/enroll"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentLeft="true"
+        android:layout_alignParentTop="true"
+        android:layout_marginLeft="20dp"
+        android:layout_marginTop="140dp"
+        android:onClick="onEnrollClicked"
     />
-</LinearLayout>
+</RelativeLayout>