blob: 289db7d6cdfbd4614308ee3c9a2c9e9a9b2dbee3 [file] [log] [blame]
Ivan Yeodb0052d2015-02-08 17:27:04 -08001<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
4 android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
5 android:paddingRight="@dimen/activity_horizontal_margin"
6 android:paddingTop="@dimen/activity_vertical_margin"
7 android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
8
9 <Button
10 android:id="@+id/start_nfd_button"
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content"
13 android:onClick="startNFD"
14 android:text="Start NFD" />
15
16 <Button
17 android:id="@+id/stop_nfd_button"
18 android:layout_below="@id/start_nfd_button"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:onClick="stopNFD"
22 android:text="Stop NFD" />
23
24 <Button
25 android:id="@+id/start_nfd_explicit_button"
26 android:layout_below="@id/stop_nfd_button"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:onClick="startNFDexplicit"
30 android:text="Start NFD explicit!" />
31
32 <Button
33 android:id="@+id/start_nfd_jni"
34 android:layout_below="@id/start_nfd_explicit_button"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:onClick="startNfd"
38 android:text="Start NFD through JNI" />
39
40 <Button
41 android:id="@+id/stop_nfd_jni"
42 android:layout_below="@id/start_nfd_jni"
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:onClick="stopNfd"
46 android:text="Stop NFD through JNI" />
47</RelativeLayout>