Migrating PhoneInterface (Irrigation and SpeakerLocator) from old to new Nexus 5X...
[iot2.git] / benchmarks / other / PhoneInterface / SpeakerLocator / app / src / main / res / layout / content_main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     xmlns:tools="http://schemas.android.com/tools"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     android:paddingBottom="@dimen/activity_vertical_margin"
8     android:paddingLeft="@dimen/activity_horizontal_margin"
9     android:paddingRight="@dimen/activity_horizontal_margin"
10     android:paddingTop="@dimen/activity_vertical_margin"
11     app:layout_behavior="@string/appbar_scrolling_view_behavior"
12     tools:context="com.example.xub3.speakerlocator.MainActivity"
13     tools:showIn="@layout/activity_main">
14
15     <TextView
16         android:layout_width="wrap_content"
17         android:layout_height="wrap_content"
18         android:text="Hello World!"
19         android:id="@+id/hellotext" />
20
21     <Button
22         android:layout_width="wrap_content"
23         android:layout_height="wrap_content"
24         android:text="map"
25         android:id="@+id/map_btn"
26         android:layout_below="@+id/hellotext"
27         android:layout_centerHorizontal="true" />
28
29     <Button
30         android:layout_width="wrap_content"
31         android:layout_height="wrap_content"
32         android:text="start"
33         android:id="@+id/start_btn"
34         android:layout_below="@+id/map_btn"
35         android:layout_alignLeft="@+id/map_btn"
36         android:layout_alignStart="@+id/map_btn"
37         android:layout_marginTop="50dp" />
38
39     <Button
40         android:layout_width="wrap_content"
41         android:layout_height="wrap_content"
42         android:text="Stop"
43         android:id="@+id/stop_btn"
44         android:layout_centerVertical="true"
45         android:layout_alignLeft="@+id/start_btn"
46         android:layout_alignStart="@+id/start_btn" />
47
48     <TextView
49         android:layout_width="wrap_content"
50         android:layout_height="wrap_content"
51         android:textAppearance="?android:attr/textAppearanceMedium"
52         android:id="@+id/current_position_tv"
53         android:layout_below="@+id/stop_btn"
54         android:layout_alignLeft="@+id/stop_btn"
55         android:layout_alignStart="@+id/stop_btn"
56         android:layout_marginTop="32dp" />
57
58     <EditText
59         android:layout_width="wrap_content"
60         android:layout_height="wrap_content"
61         android:id="@+id/mapname_et"
62         android:layout_below="@+id/map_btn"
63         android:layout_alignRight="@+id/map_btn"
64         android:layout_alignEnd="@+id/map_btn"
65         android:layout_toRightOf="@+id/current_position_tv"
66         android:layout_toEndOf="@+id/current_position_tv" />
67
68 </RelativeLayout>