blob: 99b9ced530909458453090636e11917b4c2a2a4e [file] [log] [blame]
Matt Pietalfd3b6cb2020-01-08 09:43:54 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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
Aran Inkbe297a52020-05-15 18:58:13 -040017<com.android.systemui.globalactions.GlobalActionsItem
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050018 xmlns:android="http://schemas.android.com/apk/res/android"
Lucas Dupincb6726f2020-04-07 19:32:38 -070019 android:layout_width="0dp"
20 android:layout_weight="1"
Aran Inkdcb42fe2020-05-15 14:16:12 -040021 android:layout_height="98dp"
22 android:gravity="bottom|center_horizontal"
23 android:orientation="vertical"
24 android:paddingTop="12dp"
25 android:paddingBottom="12dp"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050026 android:paddingLeft="@dimen/global_actions_grid_item_side_margin"
27 android:paddingRight="@dimen/global_actions_grid_item_side_margin"
Lucas Dupincb6726f2020-04-07 19:32:38 -070028 android:layout_marginRight="@dimen/control_base_item_margin"
29 android:layout_marginLeft="@dimen/control_base_item_margin"
Lucas Dupin6843f572020-04-13 14:42:43 -070030 android:stateListAnimator="@anim/control_state_list_animator"
Lucas Dupin3a8531e2020-04-06 17:18:09 -070031 android:background="@drawable/control_background">
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050032 <ImageView
33 android:id="@*android:id/icon"
Aran Inkdcb42fe2020-05-15 14:16:12 -040034 android:layout_width="20dp"
35 android:layout_height="20dp"
36 android:layout_marginBottom="14dp"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050037 android:scaleType="centerInside"
Aran Inkdcb42fe2020-05-15 14:16:12 -040038 android:tint="@color/control_primary_text" />
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050039 <TextView
40 android:id="@*android:id/message"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
Aran Inkbe297a52020-05-15 18:58:13 -040043 android:ellipsize="end"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050044 android:marqueeRepeatLimit="marquee_forever"
Aran Inkdcb42fe2020-05-15 14:16:12 -040045 android:maxLines="2"
46 android:textSize="12sp"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050047 android:gravity="center"
Aran Inkdcb42fe2020-05-15 14:16:12 -040048 android:textColor="@color/control_primary_text"
49 android:breakStrategy="high_quality"
50 android:hyphenationFrequency="full"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050051 android:textAppearance="?android:attr/textAppearanceSmall" />
Aran Inkbe297a52020-05-15 18:58:13 -040052</com.android.systemui.globalactions.GlobalActionsItem>