Index: chrome/android/java_staging/res/layout/icon_most_visited_item.xml |
diff --git a/chrome/android/java_staging/res/layout/icon_most_visited_item.xml b/chrome/android/java_staging/res/layout/icon_most_visited_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d55377c4b63547b97d3b15ed708355c2a5c31e7 |
--- /dev/null |
+++ b/chrome/android/java_staging/res/layout/icon_most_visited_item.xml |
@@ -0,0 +1,33 @@ |
+<?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.IconMostVisitedItemView |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="@dimen/icon_most_visited_tile_width" |
+ android:layout_height="wrap_content" |
+ android:padding="4dp" > |
+ |
+ <ImageView |
+ android:id="@+id/most_visited_icon" |
+ android:layout_width="@dimen/icon_most_visited_icon_size" |
+ android:layout_height="@dimen/icon_most_visited_icon_size" |
+ android:layout_marginStart="12dp" |
+ android:layout_marginEnd="12dp" |
+ android:contentDescription="@null" /> |
+ |
+ <TextView |
+ android:id="@+id/most_visited_title" |
+ android:layout_width="72dp" |
+ android:layout_height="wrap_content" |
+ android:layout_marginTop="54dp" |
+ android:ellipsize="end" |
+ android:gravity="center_horizontal" |
+ android:lines="2" |
+ android:lineSpacingMultiplier="1.17" |
+ android:textColor="#787878" |
+ android:textSize="12sp" /> |
+ |
+</org.chromium.chrome.browser.ntp.IconMostVisitedItemView> |