OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2014 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 <RelativeLayout 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"> | |
12 <android.support.v7.widget.Toolbar | |
13 android:id="@+id/toolbar" | |
14 android:layout_width="match_parent" | |
15 android:layout_height="wrap_content" | |
16 android:background="?attr/colorPrimary" | |
17 android:elevation="4dp"/> | |
18 <org.chromium.chromoting.DesktopView android:id="@+id/desktop_view" | 11 <org.chromium.chromoting.DesktopView android:id="@+id/desktop_view" |
19 android:layout_width="match_parent" | 12 android:layout_width="match_parent" |
20 android:layout_height="0dp" | 13 android:layout_height="match_parent"/> |
21 android:layout_weight="1"/> | 14 <RelativeLayout |
22 </LinearLayout> | 15 android:layout_width="match_parent" |
| 16 android:layout_height="match_parent" |
| 17 android:fitsSystemWindows="true" |
| 18 android:elevation="4dp"> |
| 19 <android.support.v7.widget.Toolbar |
| 20 android:id="@+id/toolbar" |
| 21 android:alpha="0.85" |
| 22 android:layout_width="match_parent" |
| 23 android:layout_height="wrap_content" |
| 24 android:fitsSystemWindows="true" |
| 25 android:background="?attr/colorPrimary"/> |
| 26 <FrameLayout |
| 27 android:id="@+id/resize_detector" |
| 28 android:layout_below="@id/toolbar" |
| 29 android:layout_width="match_parent" |
| 30 android:layout_height="match_parent" |
| 31 android:fitsSystemWindows="true" |
| 32 android:background="@android:color/transparent"> |
| 33 </FrameLayout> |
| 34 </RelativeLayout> |
| 35 </RelativeLayout> |
OLD | NEW |