1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16 -->
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:gravity="center_vertical"
22    android:orientation="horizontal"
23    android:minHeight="?android:attr/listPreferredItemHeightSmall"
24    android:padding="@dimen/list_preferred_item_padding">
25
26    <ImageView
27        android:id="@+id/app_icon"
28        android:layout_width="@dimen/secondary_app_icon_size"
29        android:layout_height="@dimen/secondary_app_icon_size"/>
30
31    <LinearLayout
32        android:layout_width="match_parent"
33        android:layout_height="wrap_content"
34        android:gravity="center_vertical"
35        android:orientation="vertical"
36        android:minHeight="?android:attr/listPreferredItemHeightSmall"
37        android:padding="@dimen/list_preferred_item_padding">
38
39        <TextView
40            android:id="@+id/lease_package"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:textDirection="locale"
44            android:ellipsize="marquee"
45            android:fadingEdge="horizontal"
46            android:singleLine="true"
47            android:textAppearance="?android:attr/textAppearanceListItem"/>
48
49        <TextView
50            android:id="@+id/lease_desc"
51            android:layout_width="match_parent"
52            android:layout_height="wrap_content"
53            android:textAppearance="?android:attr/textAppearanceSmall"
54            android:textColor="?android:attr/textColorSecondary"/>
55
56        <TextView
57            android:id="@+id/lease_expiry"
58            android:layout_width="match_parent"
59            android:layout_height="wrap_content"
60            android:textAppearance="?android:attr/textAppearanceSmall"
61            android:textColor="?android:attr/textColorSecondary"/>
62    </LinearLayout>
63</LinearLayout>
64