OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="match_parent" | 10 android:layout_height="match_parent" |
11 android:orientation="vertical"> | 11 android:orientation="vertical"> |
12 <android.support.v7.widget.Toolbar | 12 <android.support.v7.widget.Toolbar |
13 android:id="@+id/toolbar" | 13 android:id="@+id/toolbar" |
14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
15 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
16 android:background="?attr/colorPrimary" | 16 android:background="?attr/colorPrimary" |
17 android:elevation="4dp"/> | 17 android:elevation="4dp"/> |
18 <Button | 18 <LinearLayout |
19 android:layout_width="wrap_content" | 19 android:layout_width="wrap_content" |
20 android:layout_height="wrap_content" | 20 android:layout_height="wrap_content" |
21 android:layout_gravity="center" | 21 android:layout_gravity="center" |
22 android:text="Share" | 22 android:orientation="horizontal"> |
23 android:onClick="onShareClicked"/> | 23 <Button |
| 24 android:id="@+id/share_button" |
| 25 android:layout_width="wrap_content" |
| 26 android:layout_height="wrap_content" |
| 27 android:text="Share" |
| 28 android:onClick="onShareClicked"/> |
| 29 <Button |
| 30 android:id="@+id/disconnect_button" |
| 31 android:layout_width="wrap_content" |
| 32 android:layout_height="wrap_content" |
| 33 android:text="Disconnect" |
| 34 android:onClick="onDisconnectClicked"/> |
| 35 </LinearLayout> |
| 36 <TextView |
| 37 android:id="@+id/status_text" |
| 38 android:layout_width="wrap_content" |
| 39 android:layout_height="wrap_content" |
| 40 android:layout_gravity="center"/> |
| 41 <TextView |
| 42 android:id="@+id/access_code" |
| 43 android:layout_width="wrap_content" |
| 44 android:layout_height="wrap_content" |
| 45 android:layout_gravity="center" |
| 46 android:textAppearance="@style/TextAppearance.AppCompat.Large"/> |
24 </LinearLayout> | 47 </LinearLayout> |
OLD | NEW |