OLD | NEW |
(Empty) | |
| 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. --> |
| 5 |
| 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" |
| 11 android:padding="4dp" |
| 12 android:background="@drawable/most_visited_item_bg" |
| 13 android:orientation="vertical" > |
| 14 |
| 15 <TextView |
| 16 android:id="@+id/most_visited_title" |
| 17 android:layout_width="match_parent" |
| 18 android:layout_height="24dp" |
| 19 android:layout_marginBottom="4dp" |
| 20 android:paddingStart="4dp" |
| 21 android:drawablePadding="8dp" |
| 22 android:ellipsize="end" |
| 23 android:gravity="center_vertical" |
| 24 android:singleLine="true" |
| 25 android:textAlignment="viewStart" |
| 26 android:textColor="@color/ntp_most_visited_text" |
| 27 android:textSize="12sp" /> |
| 28 |
| 29 <org.chromium.chrome.browser.ntp.MostVisitedThumbnail |
| 30 android:id="@+id/most_visited_thumbnail" |
| 31 android:layout_width="match_parent" |
| 32 android:layout_height="wrap_content" |
| 33 android:contentDescription="@null" /> |
| 34 |
| 35 </org.chromium.chrome.browser.ntp.MostVisitedItemView> |
OLD | NEW |