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

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

Issue 1851393003: Remove max width on new tab page layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java » ('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 <org.chromium.chrome.browser.ntp.NewTabPageLayout 5 <org.chromium.chrome.browser.ntp.NewTabPageLayout
6 xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:chrome="http://schemas.android.com/apk/res-auto" 7 xmlns:chrome="http://schemas.android.com/apk/res-auto"
8 android:id="@+id/ntp_content" 8 android:id="@+id/ntp_content"
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:layout_gravity="center_horizontal" 11 android:layout_gravity="center_horizontal"
12 android:orientation="vertical" 12 android:orientation="vertical"
13 android:gravity="center" 13 android:gravity="center"
14 android:paddingTop="@dimen/toolbar_height_no_shadow" 14 android:paddingTop="@dimen/toolbar_height_no_shadow"
15 android:visibility="gone" 15 android:visibility="gone" >
16 chrome:maxWidth="692dp" >
17 16
18 <!-- Spacer. Note: this must have layout_weight="1" and the other spacers mu st have 17 <!-- Spacer. Note: this must have layout_weight="1" and the other spacers mu st have
19 layout_weight="0". The NewTabPageLayout will redistribute the extra spa ce between 18 layout_weight="0". The NewTabPageLayout will redistribute the extra spa ce between
20 them. --> 19 them. -->
21 <View 20 <View
22 android:id="@+id/ntp_top_spacer" 21 android:id="@+id/ntp_top_spacer"
23 android:layout_width="0dp" 22 android:layout_width="0dp"
24 android:layout_height="0dp" 23 android:layout_height="0dp"
25 android:layout_weight="1" 24 android:layout_weight="1"
26 android:visibility="invisible" /> 25 android:visibility="invisible" />
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 android:layout_height="0dp" 112 android:layout_height="0dp"
114 android:layout_weight="1" 113 android:layout_weight="1"
115 android:visibility="gone" /> 114 android:visibility="gone" />
116 115
117 <View 116 <View
118 android:id="@+id/ntp_scroll_spacer" 117 android:id="@+id/ntp_scroll_spacer"
119 android:layout_width="match_parent" 118 android:layout_width="match_parent"
120 android:layout_height="0dp" 119 android:layout_height="0dp"
121 android:visibility="gone" /> 120 android:visibility="gone" />
122 </org.chromium.chrome.browser.ntp.NewTabPageLayout> 121 </org.chromium.chrome.browser.ntp.NewTabPageLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698