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

Unified Diff: chrome/android/java/res/layout/interests_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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/interests_page.xml
diff --git a/chrome/android/java/res/layout/interests_page.xml b/chrome/android/java/res/layout/interests_page.xml
new file mode 100644
index 0000000000000000000000000000000000000000..91535d1363e2b320535a4a0053ecbe4470f7815f
--- /dev/null
+++ b/chrome/android/java/res/layout/interests_page.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<org.chromium.chrome.browser.ntp.InterestsView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingTop="@dimen/tab_strip_height"
+ android:orientation="vertical"
+ android:focusable="true"
Bernhard Bauer 2015/11/19 17:15:15 Sort these alphabetically?
PEConn 2015/11/20 11:23:40 I did this for all elements except verticalSpacing
+ android:focusableInTouchMode="true" >
+
+ <GridView
+ android:id="@+id/interests_list_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingTop="@dimen/toolbar_height_no_shadow"
+ android:numColumns="auto_fit"
+ android:verticalSpacing="10dp"
+ android:horizontalSpacing="10dp"
+ android:stretchMode="columnWidth"
+ android:gravity="center" />
+
+</org.chromium.chrome.browser.ntp.InterestsView>
« no previous file with comments | « no previous file | chrome/android/java/res/layout/new_tab_page.xml » ('j') | chrome/android/java/res/layout/new_tab_page.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698