Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / icon_most_visited_item.xml
blobdeaf4d0016213ac8e321bf315cc8b4327061f16b
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3      Use of this source code is governed by a BSD-style license that can be
4      found in the LICENSE file. -->
6 <!-- A most visited item, for display on the new tab page. -->
7 <org.chromium.chrome.browser.ntp.IconMostVisitedItemView
8     xmlns:android="http://schemas.android.com/apk/res/android"
9     android:layout_width="@dimen/icon_most_visited_tile_width"
10     android:layout_height="wrap_content"
11     android:padding="4dp" >
13     <ImageView
14         android:id="@+id/most_visited_icon"
15         android:layout_width="@dimen/icon_most_visited_icon_size"
16         android:layout_height="@dimen/icon_most_visited_icon_size"
17         android:layout_marginStart="12dp"
18         android:layout_marginEnd="12dp"
19         android:contentDescription="@null" />
21     <View
22         android:layout_width="@dimen/icon_most_visited_icon_size"
23         android:layout_height="@dimen/icon_most_visited_icon_size"
24         android:layout_marginStart="12dp"
25         android:layout_marginEnd="12dp"
26         android:background="@drawable/icon_most_visited_item_highlight" />
28     <TextView
29         android:id="@+id/most_visited_title"
30         android:layout_width="72dp"
31         android:layout_height="wrap_content"
32         android:layout_marginTop="54dp"
33         android:ellipsize="end"
34         android:gravity="center_horizontal"
35         android:lines="2"
36         android:lineSpacingMultiplier="1.17"
37         android:textColor="#787878"
38         android:textSize="12sp" />
40 </org.chromium.chrome.browser.ntp.IconMostVisitedItemView>