blob: 8d65666134e1cf5b3d7e13bf7412a43c799fd294 [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
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:gravity="center_vertical"
Fabrice Di Meglioc3febdf2014-06-05 12:44:35 -070022 android:minHeight="@dimen/dashboard_tile_minimum_height" >
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070023
24 <ImageView
25 android:id="@+id/icon"
Fabrice Di Meglioc3febdf2014-06-05 12:44:35 -070026 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070028 android:scaleType="centerInside"
Fabrice Di Meglioc3febdf2014-06-05 12:44:35 -070029 android:layout_marginStart="@dimen/dashboard_tile_image_margin_start"
30 android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end"
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070031 />
32
33 <RelativeLayout
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_weight="1" >
37
38 <TextView android:id="@+id/title"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:singleLine="true"
Fabrice Di Meglioe89aecd2014-06-02 17:14:11 -070042 android:textAppearance="@style/TextAppearance.TileTitle"
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070043 android:ellipsize="marquee"
44 android:fadingEdge="horizontal" />
45
46 <TextView android:id="@+id/status"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_below="@android:id/title"
50 android:layout_alignStart="@android:id/title"
Fabrice Di Meglio8b81bff2014-05-20 10:10:36 -070051 android:textAppearance="@style/TextAppearance.Small"
Fabrice Di Meglio769630c2014-04-24 14:48:48 -070052 android:textColor="?android:attr/textColorSecondary"
53 />
54
55 </RelativeLayout>
56
57</LinearLayout>