Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Ivan Yeo | 9f03fd7 | 2015-02-18 19:04:08 -0800 | [diff] [blame^] | 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:paddingLeft="@dimen/activity_horizontal_margin" |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 7 | android:paddingRight="@dimen/activity_horizontal_margin" |
| 8 | android:paddingTop="@dimen/activity_vertical_margin" |
Ivan Yeo | 9f03fd7 | 2015-02-18 19:04:08 -0800 | [diff] [blame^] | 9 | android:paddingBottom="@dimen/activity_vertical_margin" |
| 10 | tools:context=".MainActivity"> |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 11 | |
| 12 | <Button |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 13 | android:id="@+id/nfd_button" |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="wrap_content" |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 16 | android:onClick="toggleNfdState" |
| 17 | android:enabled="false" |
Ivan Yeo | 9f03fd7 | 2015-02-18 19:04:08 -0800 | [diff] [blame^] | 18 | android:text="@string/checking_on_nfd" /> |
| 19 | |
| 20 | <Button |
| 21 | android:id="@+id/launch_logger" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="wrap_content" |
| 24 | android:layout_below="@id/nfd_button" |
| 25 | android:onClick="launchLogActivity" |
| 26 | android:text="@string/launch_logger" /> |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 27 | |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 28 | </RelativeLayout> |