Index: chrome/android/java_staging/res/layout/most_visited_item.xml |
diff --git a/chrome/android/java_staging/res/layout/most_visited_item.xml b/chrome/android/java_staging/res/layout/most_visited_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8df8003195e511795c08e3ad7174db1c4170db39 |
--- /dev/null |
+++ b/chrome/android/java_staging/res/layout/most_visited_item.xml |
@@ -0,0 +1,35 @@ |
+<?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. --> |
+ |
+<!-- A most visited item, for display on the new tab page. --> |
+<org.chromium.chrome.browser.ntp.MostVisitedItemView |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="@dimen/most_visited_tile_width" |
+ android:layout_height="130dp" |
+ android:padding="4dp" |
+ android:background="@drawable/most_visited_item_bg" |
+ android:orientation="vertical" > |
+ |
+ <TextView |
+ android:id="@+id/most_visited_title" |
+ android:layout_width="match_parent" |
+ android:layout_height="24dp" |
+ android:layout_marginBottom="4dp" |
+ android:paddingStart="4dp" |
+ android:drawablePadding="8dp" |
+ android:ellipsize="end" |
+ android:gravity="center_vertical" |
+ android:singleLine="true" |
+ android:textAlignment="viewStart" |
+ android:textColor="@color/ntp_most_visited_text" |
+ android:textSize="12sp" /> |
+ |
+ <org.chromium.chrome.browser.ntp.MostVisitedThumbnail |
+ android:id="@+id/most_visited_thumbnail" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:contentDescription="@null" /> |
+ |
+</org.chromium.chrome.browser.ntp.MostVisitedItemView> |