blob: 44b263ce7c3b4333d1f4719b71613223338d8fcc [file] [log] [blame]
Jason Monk7c7eb702015-11-11 16:45:49 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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="wrap_content"
Fan Zhang8f0a0ac2016-06-27 18:09:18 -070021 android:background="?android:attr/selectableItemBackground"
Jason Monk7c7eb702015-11-11 16:45:49 -050022 android:gravity="center_vertical"
23 android:minHeight="@dimen/dashboard_tile_minimum_height"
24 android:clickable="true"
Fan Zhang8f0a0ac2016-06-27 18:09:18 -070025 android:focusable="true">
Jason Monk7c7eb702015-11-11 16:45:49 -050026
27 <View
28 android:layout_width="@dimen/dashboard_tile_image_size"
29 android:layout_height="@dimen/dashboard_tile_image_size"
30 android:layout_marginStart="@dimen/dashboard_tile_image_margin_start"
31 android:layout_marginEnd="@dimen/dashboard_tile_image_margin_end"
32 android:visibility="invisible" />
33
34 <LinearLayout
35 android:layout_width="match_parent"
36 android:layout_height="match_parent"
37 android:orientation="vertical">
38
39 <LinearLayout
40 android:layout_width="match_parent"
41 android:layout_height="0dip"
42 android:orientation="vertical"
43 android:gravity="center_vertical"
44 android:layout_weight="1">
45
46 <RelativeLayout
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content">
49
50 <TextView android:id="@android:id/title"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:singleLine="true"
54 android:textAppearance="@android:style/TextAppearance.Material.Widget.Button.Inverse"
55 android:textColor="?android:attr/colorAccent"
56 android:ellipsize="marquee"
57 android:fadingEdge="horizontal" />
58
59 </RelativeLayout>
60
61 </LinearLayout>
62
63 </LinearLayout>
64
65</LinearLayout>