1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2015 Google Inc. All rights reserved.
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7       http://www.apache.org/licenses/LICENSE-2.0
8  Unless required by applicable law or agreed to in writing, software
9  distributed under the License is distributed on an "AS IS" BASIS,
10  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11  See the License for the specific language governing permissions and
12  limitations under the License.
13  -->
14
15<LinearLayout
16    xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:tools="http://schemas.android.com/tools"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical"
21    tools:context=".MainActivity"
22    tools:deviceIds="wear_square">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content">
27
28        <Button
29            android:id="@+id/wearBodySensorsPermissionButton"
30            android:layout_width="0dp"
31            android:layout_height="match_parent"
32            android:layout_weight="1"
33            android:drawableLeft="@drawable/ic_permission_denied"
34            android:textSize="8sp"
35            android:text="@string/button_wear_label_activity_main"
36            android:onClick="onClickWearBodySensors" />
37
38        <Button
39            android:id="@+id/phoneStoragePermissionButton"
40            android:layout_width="0dp"
41            android:layout_height="match_parent"
42            android:layout_weight="1"
43            android:drawableLeft="@drawable/ic_permission_denied"
44            android:textSize="8sp"
45            android:text="@string/button_phone_label_activity_main"
46            android:onClick="onClickPhoneStorage" />
47    </LinearLayout>
48
49    <TextView
50        android:id="@+id/output"
51        android:layout_width="match_parent"
52        android:layout_height="0dp"
53        android:layout_weight="2"
54        android:paddingLeft="8dp"
55        android:paddingRight="8dp"
56        android:text="@string/hello_wear_activity_main" />
57</LinearLayout>
58