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

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

Issue 2638353002: Update and unify nine-patch files for content suggestion and omnibox cards (Closed)
Patch Set: sync 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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="@dimen/ntp_search_box_height" 61 android:layout_height="@dimen/ntp_search_box_height"
62 android:layout_marginStart="10dp" 62 android:layout_marginStart="10dp"
63 android:layout_marginEnd="10dp" 63 android:layout_marginEnd="10dp"
64 android:layout_marginTop="0dp" 64 android:layout_marginTop="0dp"
65 android:layout_marginBottom="1dp" 65 android:layout_marginBottom="1dp"
66 android:gravity="center_vertical" 66 android:gravity="center_vertical"
67 android:background="@drawable/textbox" 67 android:background="@drawable/card_single"
68 android:orientation="horizontal" 68 android:orientation="horizontal"
69 android:paddingStart="2dp" 69 android:paddingStart="2dp"
70 android:paddingEnd="2dp" 70 android:paddingEnd="2dp"
71 android:paddingTop="3dp" 71 android:paddingTop="3dp"
72 android:paddingBottom="3dp" > 72 android:paddingBottom="3dp" >
73 <EditText 73 <EditText
74 android:id="@+id/search_box_text" 74 android:id="@+id/search_box_text"
75 android:layout_width="0dp" 75 android:layout_width="0dp"
76 android:layout_height="match_parent" 76 android:layout_height="match_parent"
77 android:layout_marginStart="12dp" 77 android:layout_marginStart="12dp"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 android:layout_weight="1" 139 android:layout_weight="1"
140 android:visibility="gone" /> 140 android:visibility="gone" />
141 141
142 <!-- Spacer to make the page scrollable when needed. --> 142 <!-- Spacer to make the page scrollable when needed. -->
143 <View 143 <View
144 android:id="@+id/ntp_scroll_spacer" 144 android:id="@+id/ntp_scroll_spacer"
145 android:layout_width="match_parent" 145 android:layout_width="match_parent"
146 android:layout_height="0dp" 146 android:layout_height="0dp"
147 android:visibility="gone" /> 147 android:visibility="gone" />
148 </org.chromium.chrome.browser.ntp.NewTabPageLayout> 148 </org.chromium.chrome.browser.ntp.NewTabPageLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698