Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / android / java / res / layout / most_visited_item.xml
blobde02755da2747add2764d3c324bc241eb4c0e740
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.MostVisitedItemView
8     xmlns:android="http://schemas.android.com/apk/res/android"
9     android:layout_width="@dimen/most_visited_tile_width"
10     android:layout_height="130dp" >
12     <LinearLayout
13         android:layout_width="match_parent"
14         android:layout_height="match_parent"
15         android:background="@drawable/most_visited_item_bg"
16         android:orientation="vertical"
17         android:padding="4dp" >
18         <TextView
19             android:id="@+id/most_visited_title"
20             android:layout_width="match_parent"
21             android:layout_height="24dp"
22             android:layout_marginBottom="4dp"
23             android:paddingStart="4dp"
24             android:drawablePadding="8dp"
25             android:ellipsize="end"
26             android:gravity="center_vertical"
27             android:singleLine="true"
28             android:textAlignment="viewStart"
29             android:textColor="@color/ntp_most_visited_text"
30             android:textSize="12sp" />
32         <org.chromium.chrome.browser.ntp.MostVisitedThumbnail
33             android:id="@+id/most_visited_thumbnail"
34             android:layout_width="match_parent"
35             android:layout_height="wrap_content"
36             android:contentDescription="@null" />
37     </LinearLayout>
39     <View
40         android:layout_width="match_parent"
41         android:layout_height="match_parent"
42         android:background="?attr/selectableItemBackground" />
44 </org.chromium.chrome.browser.ntp.MostVisitedItemView>