Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: remoting/android/java/res/layout/desktop.xml

Issue 1427453004: Fixing image canvas resize problems when showing/hiding system UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing some comment formatting. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698