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

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

Issue 2375023003: Ntp: experiment to initially scroll below the fold. (Closed)
Patch Set: Delete custom command line switch. Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.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 <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"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 android:id="@+id/search_box_spacer" 51 android:id="@+id/search_box_spacer"
52 android:layout_width="0dp" 52 android:layout_width="0dp"
53 android:layout_height="0dp" 53 android:layout_height="0dp"
54 android:layout_weight="0" 54 android:layout_weight="0"
55 android:visibility="gone" /> 55 android:visibility="gone" />
56 56
57 <!-- Search box --> 57 <!-- Search box -->
58 <LinearLayout 58 <LinearLayout
59 android:id="@+id/search_box" 59 android:id="@+id/search_box"
60 android:layout_width="match_parent" 60 android:layout_width="match_parent"
61 android:layout_height="48dp" 61 android:layout_height="@dimen/ntp_search_box_height"
62 android:layout_marginStart="12dp" 62 android:layout_marginStart="12dp"
63 android:layout_marginEnd="12dp" 63 android:layout_marginEnd="12dp"
64 android:layout_marginTop="7dp" 64 android:layout_marginTop="7dp"
65 android:layout_marginBottom="8dp" 65 android:layout_marginBottom="8dp"
66 android:gravity="center_vertical" 66 android:gravity="center_vertical"
67 android:background="@drawable/bg_ntp_search_box" 67 android:background="@drawable/bg_ntp_search_box"
68 android:orientation="horizontal" > 68 android:orientation="horizontal" >
69 <EditText 69 <EditText
70 android:id="@+id/search_box_text" 70 android:id="@+id/search_box_text"
71 android:layout_width="0dp" 71 android:layout_width="0dp"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 android:layout_weight="1" 135 android:layout_weight="1"
136 android:visibility="gone" /> 136 android:visibility="gone" />
137 137
138 <!-- Spacer to make the page scrollable when needed. --> 138 <!-- Spacer to make the page scrollable when needed. -->
139 <View 139 <View
140 android:id="@+id/ntp_scroll_spacer" 140 android:id="@+id/ntp_scroll_spacer"
141 android:layout_width="match_parent" 141 android:layout_width="match_parent"
142 android:layout_height="0dp" 142 android:layout_height="0dp"
143 android:visibility="gone" /> 143 android:visibility="gone" />
144 </org.chromium.chrome.browser.ntp.NewTabPageLayout> 144 </org.chromium.chrome.browser.ntp.NewTabPageLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698