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

Unified Diff: chrome/android/java_staging/res/layout/most_visited_placeholder.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 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_staging/res/layout/most_visited_placeholder.xml
diff --git a/chrome/android/java_staging/res/layout/most_visited_placeholder.xml b/chrome/android/java_staging/res/layout/most_visited_placeholder.xml
new file mode 100644
index 0000000000000000000000000000000000000000..23e4d4042b455e616913e526e8ae9696d45ae808
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/most_visited_placeholder.xml
@@ -0,0 +1,40 @@
+<?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. -->
+
+<!-- The view shown when there are no most visited items in document mode:
+ "Nothing to see here..." -->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:padding="16dp"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="15dp"
+ android:contentDescription="@null"
+ android:src="@drawable/ic_most_visited_placeholder" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:color="#c8c8c8"
+ android:gravity="center_horizontal"
+ android:text="@string/most_visited_placeholder_title"
+ android:textSize="16sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:color="#c8c8c8"
+ android:gravity="center_horizontal"
+ android:text="@string/most_visited_placeholder_summary"
+ android:textSize="12sp" />
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698