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

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

Issue 1459593002: Added a UI for the Interests Prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 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 5
6 <org.chromium.chrome.browser.ntp.NewTabPageView 6 <org.chromium.chrome.browser.ntp.NewTabPageView
7 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 android:layout_width="wrap_content" 183 android:layout_width="wrap_content"
184 android:layout_height="match_parent" 184 android:layout_height="match_parent"
185 android:layout_gravity="center_horizontal" 185 android:layout_gravity="center_horizontal"
186 android:drawablePadding="8dp" 186 android:drawablePadding="8dp"
187 android:gravity="center_vertical" 187 android:gravity="center_vertical"
188 android:text="@string/ntp_bookmarks" 188 android:text="@string/ntp_bookmarks"
189 android:textSize="12sp" 189 android:textSize="12sp"
190 android:textColor="#5a5a5a" /> 190 android:textColor="#5a5a5a" />
191 </FrameLayout> 191 </FrameLayout>
192 <FrameLayout 192 <FrameLayout
193 android:background="?attr/listChoiceBackgroundIndicator"
194 android:contentDescription="@string/accessibility_ntp_toolbar_btn_in terests"
195 android:id="@+id/interests_button"
newt (away) 2015/12/12 00:30:30 Put id first, then layout_width, the layout_height
PEConn 2015/12/14 17:05:14 Done.
196 android:layout_height="match_parent"
197 android:layout_weight="1"
198 android:layout_width="0dp"
199 android:paddingBottom="12dp"
200 android:paddingTop="12dp"
201 android:visibility="gone" >
202 <TextView
203 android:drawablePadding="8dp"
204 android:gravity="center_vertical"
205 android:layout_gravity="center_horizontal"
206 android:layout_height="match_parent"
207 android:layout_width="wrap_content"
208 android:text="@string/ntp_interests"
209 android:textColor="#5a5a5a"
210 android:textSize="12sp" />
211 </FrameLayout>
212 <FrameLayout
193 android:id="@+id/recent_tabs_button" 213 android:id="@+id/recent_tabs_button"
194 android:layout_width="0dp" 214 android:layout_width="0dp"
195 android:layout_height="match_parent" 215 android:layout_height="match_parent"
196 android:layout_weight="1" 216 android:layout_weight="1"
197 android:background="?attr/listChoiceBackgroundIndicator" 217 android:background="?attr/listChoiceBackgroundIndicator"
198 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re cent_tabs" 218 android:contentDescription="@string/accessibility_ntp_toolbar_btn_re cent_tabs"
199 android:paddingTop="12dp" 219 android:paddingTop="12dp"
200 android:paddingBottom="12dp" > 220 android:paddingBottom="12dp" >
201 <TextView 221 <TextView
202 android:layout_width="wrap_content" 222 android:layout_width="wrap_content"
203 android:layout_height="match_parent" 223 android:layout_height="match_parent"
204 android:layout_gravity="center_horizontal" 224 android:layout_gravity="center_horizontal"
205 android:drawablePadding="8dp" 225 android:drawablePadding="8dp"
206 android:gravity="center_vertical" 226 android:gravity="center_vertical"
207 android:text="@string/recent_tabs" 227 android:text="@string/recent_tabs"
208 android:textSize="12sp" 228 android:textSize="12sp"
209 android:textColor="#5a5a5a" /> 229 android:textColor="#5a5a5a" />
210 </FrameLayout> 230 </FrameLayout>
211 </org.chromium.chrome.browser.ntp.NewTabPageToolbar> 231 </org.chromium.chrome.browser.ntp.NewTabPageToolbar>
212 </org.chromium.chrome.browser.ntp.NewTabPageView> 232 </org.chromium.chrome.browser.ntp.NewTabPageView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698