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

Unified Diff: chrome/android/java/res/layout/new_tab_page_snippets_header.xml

Issue 1961073002: Add the snippet header back into the code and show the snippet header when the user scrolls the sni… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/new_tab_page_snippets_header.xml
diff --git a/chrome/android/java/res/layout/new_tab_page_snippets_header.xml b/chrome/android/java/res/layout/new_tab_page_snippets_header.xml
index 8b8e48ffa1f52ad045378808da0a2790615252a0..a9c7907967c78f9fa0eb3a58a8adf25cfc40e5d5 100644
--- a/chrome/android/java/res/layout/new_tab_page_snippets_header.xml
+++ b/chrome/android/java/res/layout/new_tab_page_snippets_header.xml
@@ -8,7 +8,8 @@
android:id="@+id/snippets_list_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
+ android:layout_marginStart="@dimen/snippets_padding_and_peeking_card_height"
android:text="@string/snippets_header"
android:textColor="@color/snippets_list_header_text_color"
- android:textSize="18sp" />
+ android:textSize="12sp"
+ android:gravity="start|center" />
Bernhard Bauer 2016/05/09 17:47:40 "center" is basically a shortcut for "center_verti
mcwilliams 2016/05/10 13:59:09 Done.

Powered by Google App Engine
This is Rietveld 408576698