]> www.average.org Git - YkNeoCR.git/blobdiff - res/layout/main.xml
rename Check to TagEvent
[YkNeoCR.git] / res / layout / main.xml
index cac2f702499ecef854620cf55a261fbb31c7b1a9..611341f7ca121cb1805048953daab23eb55a10d6 100644 (file)
@@ -1,13 +1,37 @@
 <?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, NFCAuthCRConf"
+    <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:orientation="horizontal"
+                android:layout_centerHorizontal="true"
+                android:layout_alignParentTop="true"
+    >
+        <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_centerInParent="true"
+        android:onClick="onEnrollClicked"
     />
-</LinearLayout>
+</RelativeLayout>