<?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>
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name">NFC Chal-Resp Auth</string>
+ <string name="app_name">NFC Auth</string>
+ <string name="enroll">Enroll</string>
+ <string name="select_slot">Select Slot</string>
+ <string name="slot_1">Slot 1</string>
+ <string name="slot_2">Slot 2</string>
</resources>