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 <org.chromium.chrome.browser.ntp.RecentTabsGroupView |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 android:layout_height="wrap_content" |
| 9 android:layout_width="match_parent" |
| 10 android:background="?attr/selectableItemBackground" |
| 11 android:minHeight="64dp" |
| 12 android:paddingTop="16dp" |
| 13 android:paddingBottom="16dp"> |
| 14 |
| 15 <org.chromium.chrome.browser.widget.TintedImageView |
| 16 android:id="@+id/device_icon" |
| 17 android:layout_width="24dp" |
| 18 android:layout_height="24dp" |
| 19 android:layout_alignParentStart="true" |
| 20 android:layout_alignParentTop="true" |
| 21 android:layout_marginStart="16dp" |
| 22 android:layout_marginEnd="16dp" |
| 23 android:contentDescription="@null" /> |
| 24 |
| 25 <TextView |
| 26 android:id="@+id/device_label" |
| 27 android:layout_height="wrap_content" |
| 28 android:layout_width="match_parent" |
| 29 android:layout_toEndOf="@id/device_icon" |
| 30 android:layout_toStartOf="@+id/expand_collapse_icon" |
| 31 android:ellipsize="end" |
| 32 android:gravity="center_vertical" |
| 33 android:minHeight="24dp" |
| 34 android:singleLine="true" |
| 35 android:textAlignment="viewStart" |
| 36 android:textColor="@color/ntp_list_header_text" |
| 37 android:textSize="16sp" /> |
| 38 |
| 39 <TextView |
| 40 android:id="@+id/time_label" |
| 41 android:layout_height="wrap_content" |
| 42 android:layout_width="match_parent" |
| 43 android:layout_below="@id/device_label" |
| 44 android:layout_alignStart="@id/device_label" |
| 45 android:layout_alignEnd="@id/device_label" |
| 46 android:layout_marginTop="5dp" |
| 47 android:ellipsize="end" |
| 48 android:textAlignment="viewStart" |
| 49 android:textColor="@color/ntp_list_header_subtext" |
| 50 android:textSize="12sp" /> |
| 51 |
| 52 <ImageView |
| 53 android:id="@+id/expand_collapse_icon" |
| 54 android:layout_height="wrap_content" |
| 55 android:layout_width="wrap_content" |
| 56 android:layout_alignParentEnd="true" |
| 57 android:layout_centerVertical="true" |
| 58 android:layout_marginStart="8dp" |
| 59 android:layout_marginEnd="16dp" |
| 60 android:contentDescription="@null" /> |
| 61 |
| 62 </org.chromium.chrome.browser.ntp.RecentTabsGroupView> |
OLD | NEW |