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

Side by Side Diff: chrome/android/java/res/layout/bottom_control_container.xml

Issue 2560043002: ControlContainer is now a child of CompositorViewHolder (Closed)
Patch Set: address comments Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/main.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 5 <org.chromium.chrome.browser.toolbar.ToolbarControlContainer xmlns:android="http ://schemas.android.com/apk/res/android"
6 android:layout_height="match_parent" 6 android:id="@+id/control_container"
7 android:layout_width="wrap_content"> 7 android:layout_width="match_parent"
8 <org.chromium.chrome.browser.toolbar.ToolbarControlContainer 8 android:layout_height="wrap_content"
9 android:id="@+id/control_container" 9 android:layout_gravity="bottom"
10 android:minHeight="@dimen/control_container_height" >
11 <view
12 class="org.chromium.chrome.browser.toolbar.ToolbarControlContainer$Toolb arViewResourceFrameLayout"
13 android:id="@+id/toolbar_container"
10 android:layout_width="match_parent" 14 android:layout_width="match_parent"
11 android:layout_height="wrap_content" 15 android:layout_height="wrap_content">
12 android:layout_alignParentBottom="true" 16 <ImageView
13 android:gravity="bottom" 17 android:id="@+id/toolbar_shadow"
14 android:minHeight="@dimen/control_container_height" >
15 <view
16 class="org.chromium.chrome.browser.toolbar.ToolbarControlContainer$T oolbarViewResourceFrameLayout"
17 android:id="@+id/toolbar_container"
18 android:layout_width="match_parent" 18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"> 19 android:layout_height="@dimen/toolbar_shadow_height"
20 <ImageView 20 android:src="@drawable/toolbar_shadow"
21 android:id="@+id/toolbar_shadow" 21 android:scaleType="fitXY"
22 android:layout_width="match_parent" 22 android:scaleY="-1"
23 android:layout_height="@dimen/toolbar_shadow_height" 23 android:contentDescription="@null" />
24 android:src="@drawable/toolbar_shadow" 24 <ViewStub
25 android:scaleType="fitXY" 25 android:id="@+id/toolbar_stub"
26 android:scaleY="-1" 26 android:layout_width="match_parent"
27 android:contentDescription="@null" /> 27 android:layout_height="@dimen/toolbar_height_no_shadow"
28 <ViewStub 28 android:layout_marginTop="@dimen/toolbar_shadow_height" />
29 android:id="@+id/toolbar_stub" 29 <ViewStub
30 android:layout_width="match_parent" 30 android:id="@+id/find_toolbar_stub"
31 android:layout_height="@dimen/toolbar_height_no_shadow" 31 android:inflatedId="@+id/find_toolbar"
32 android:layout_marginTop="@dimen/toolbar_shadow_height" /> 32 android:layout_marginTop="@dimen/toolbar_shadow_height"
33 <ViewStub 33 android:layout_width="match_parent"
34 android:id="@+id/find_toolbar_stub" 34 android:layout_height="@dimen/toolbar_height_no_shadow"
35 android:inflatedId="@+id/find_toolbar" 35 android:layout="@layout/find_toolbar"
36 android:visibility="gone" 36 android:visibility="gone" />
37 android:layout_marginTop="@dimen/toolbar_shadow_height" 37 </view>
38 android:layout_width="match_parent" 38 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer>
39 android:layout_height="@dimen/toolbar_height_no_shadow"
40 android:layout="@layout/find_toolbar" />
41 </view>
42 </org.chromium.chrome.browser.toolbar.ToolbarControlContainer>
43 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/main.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698