blob: 983e6eac385a1f61f5391419326678a2a3ba03bd [file] [log] [blame]
Fabrice Di Meglio769630c2014-04-24 14:48:48 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout
Jason Monkf8b21802016-04-12 10:32:20 -040018 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:minHeight="@dimen/dashboard_tile_minimum_height"
23 android:clickable="true"
24 android:background="@drawable/selectable_card" >
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070025
26 <ImageView
Jason Monkf8b21802016-04-12 10:32:20 -040027 android:id="@android:id/icon"
28 android:layout_width="@dimen/dashboard_tile_image_size"
29 android:layout_height="@dimen/dashboard_tile_image_size"
30 android:scaleType="centerInside"
31 android:layout_marginStart="@dimen/dashboard_tile_image_margin_start"
32 android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end" />
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070033
Fabrice Di Meglio47a25e72014-06-19 20:16:20 -070034 <LinearLayout
Jason Monkf8b21802016-04-12 10:32:20 -040035 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:orientation="vertical">
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070038
Jason Monkf8b21802016-04-12 10:32:20 -040039 <TextView android:id="@android:id/title"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:singleLine="true"
43 android:textAppearance="@style/TextAppearance.TileTitle"
44 android:ellipsize="marquee"
45 android:fadingEdge="horizontal" />
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070046
Jason Monkf8b21802016-04-12 10:32:20 -040047 <TextView android:id="@android:id/summary"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:textAppearance="@style/TextAppearance.Small"
51 android:textColor="?android:attr/textColorSecondary" />
Fabrice Di Meglio47a25e72014-06-19 20:16:20 -070052
Fabrice Di Meglio47a25e72014-06-19 20:16:20 -070053 </LinearLayout>
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070054
Jason Monk7c7eb702015-11-11 16:45:49 -050055</LinearLayout>