Chromium Code Reviews| Index: remoting/android/java/res/layout/desktop.xml |
| diff --git a/remoting/android/java/res/layout/desktop.xml b/remoting/android/java/res/layout/desktop.xml |
| index e85aeae184f3a66e11c95168449a0bf7ac5570d7..da3ede74c9d3872c7b53a9300cca64647c7141a8 100644 |
| --- a/remoting/android/java/res/layout/desktop.xml |
| +++ b/remoting/android/java/res/layout/desktop.xml |
| @@ -5,18 +5,34 @@ |
| found in the LICENSE file. |
| --> |
| -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| - <android.support.v7.widget.Toolbar |
| - android:id="@+id/toolbar" |
| - android:layout_width="match_parent" |
| - android:layout_height="wrap_content" |
| - android:background="?attr/colorPrimary" |
| - android:elevation="4dp"/> |
| <org.chromium.chromoting.DesktopView android:id="@+id/desktop_view" |
| android:layout_width="match_parent" |
| - android:layout_height="0dp" |
| - android:layout_weight="1"/> |
| -</LinearLayout> |
| + android:layout_height="wrap_content"/> |
|
Lambros
2015/10/29 23:39:16
match_parent?
joedow
2015/10/30 17:41:22
Done.
|
| + <RelativeLayout |
| + android:layout_width="match_parent" |
| + android:layout_height="match_parent" |
| + android:orientation="vertical" |
|
Lambros
2015/10/29 23:39:16
remove orientation?
joedow
2015/10/30 17:41:22
Done.
|
| + android:fitsSystemWindows="true" |
| + android:elevation="4dp"> |
| + <android.support.v7.widget.Toolbar |
| + android:id="@+id/toolbar" |
| + android:alpha="0.85" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" |
| + android:fitsSystemWindows="true" |
| + android:background="?attr/colorPrimary"/> |
| + <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.
|
| + android:id="@+id/resize_detector" |
| + android:layout_below="@id/toolbar" |
| + android:layout_width="match_parent" |
| + android:layout_height="match_parent" |
| + android:orientation="vertical" |
|
Lambros
2015/10/29 23:39:16
remove orientation?
joedow
2015/10/30 17:41:22
Done.
|
| + android:fitsSystemWindows="true" |
| + android:background="@android:color/transparent"> |
| + </RelativeLayout> |
| + </RelativeLayout> |
| +</RelativeLayout> |