blob: 92717f8d7b9d950ab33bc5de3854e2d507a6591b [file] [log] [blame]
Varun Shah7efe9312020-03-26 23:02:50 -07001<?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"
Varun Shah7efe9312020-03-26 23:02:50 -070021 android:gravity="center_vertical"
Varun Shah8d5cb9a2020-06-09 19:04:36 -070022 android:orientation="horizontal"
Varun Shah7efe9312020-03-26 23:02:50 -070023 android:minHeight="?android:attr/listPreferredItemHeightSmall"
24 android:padding="@dimen/list_preferred_item_padding">
25
Varun Shah8d5cb9a2020-06-09 19:04:36 -070026 <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"/>
Varun Shah7efe9312020-03-26 23:02:50 -070030
Varun Shah8d5cb9a2020-06-09 19:04:36 -070031 <LinearLayout
Varun Shah7efe9312020-03-26 23:02:50 -070032 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
Varun Shah8d5cb9a2020-06-09 19:04:36 -070034 android:gravity="center_vertical"
35 android:orientation="vertical"
36 android:minHeight="?android:attr/listPreferredItemHeightSmall"
37 android:padding="@dimen/list_preferred_item_padding">
Varun Shah7efe9312020-03-26 23:02:50 -070038
Varun Shah8d5cb9a2020-06-09 19:04:36 -070039 <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>
Varun Shah7efe9312020-03-26 23:02:50 -070063</LinearLayout>