| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2015 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <org.chromium.chrome.browser.ntp.RecentTabsGroupView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:id="@+id/recent_tabs_group_view" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:background="@drawable/list_item_rounded_background_selector" > |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingStart="@dimen/list_item_default_margin" |
| android:orientation="vertical" |
| android:layout_centerVertical="true" > |
| |
| <TextView |
| android:id="@+id/device_label" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:ellipsize="end" |
| android:gravity="center_vertical" |
| android:minHeight="24dp" |
| android:singleLine="true" |
| android:textAlignment="viewStart" |
| android:textAppearance="@style/TextAppearance.TextLarge.Primary" /> |
| |
| <TextView |
| android:id="@+id/time_label" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:ellipsize="end" |
| android:textAlignment="viewStart" |
| android:textAppearance="@style/TextAppearance.TextMedium.Secondary" /> |
| </LinearLayout> |
| |
| <ImageView |
| android:id="@+id/expand_collapse_icon" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:layout_alignParentEnd="true" |
| android:layout_centerVertical="true" |
| android:layout_marginStart="8dp" |
| android:layout_marginEnd="16dp" |
| android:background="@drawable/small_icon_background_selector" |
| tools:ignore="ContentDescription" /> |
| |
| </org.chromium.chrome.browser.ntp.RecentTabsGroupView> |