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"> | 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" | 12 <org.chromium.chromoting.DesktopView android:id="@+id/desktop_view" |
19 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
20 android:layout_height="0dp" | 14 android:layout_height="wrap_content"/> |
Lambros
2015/10/29 23:39:16
match_parent?
joedow
2015/10/30 17:41:22
Done.
| |
21 android:layout_weight="1"/> | 15 <RelativeLayout |
22 </LinearLayout> | 16 android:layout_width="match_parent" |
17 android:layout_height="match_parent" | |
18 android:orientation="vertical" | |
Lambros
2015/10/29 23:39:16
remove orientation?
joedow
2015/10/30 17:41:22
Done.
| |
19 android:fitsSystemWindows="true" | |
20 android:elevation="4dp"> | |
21 <android.support.v7.widget.Toolbar | |
22 android:id="@+id/toolbar" | |
23 android:alpha="0.85" | |
24 android:layout_width="match_parent" | |
25 android:layout_height="wrap_content" | |
26 android:fitsSystemWindows="true" | |
27 android:background="?attr/colorPrimary"/> | |
28 <RelativeLayout | |
Lambros
2015/10/29 23:39:16
Maybe FrameLayout or View or some other generic pl
joedow
2015/10/30 17:41:22
Done.
| |
29 android:id="@+id/resize_detector" | |
30 android:layout_below="@id/toolbar" | |
31 android:layout_width="match_parent" | |
32 android:layout_height="match_parent" | |
33 android:orientation="vertical" | |
Lambros
2015/10/29 23:39:16
remove orientation?
joedow
2015/10/30 17:41:22
Done.
| |
34 android:fitsSystemWindows="true" | |
35 android:background="@android:color/transparent"> | |
36 </RelativeLayout> | |
37 </RelativeLayout> | |
38 </RelativeLayout> | |
OLD | NEW |