blob: e7c7b5fbf89085f76f23031491127e876c1dbfae [file] [log] [blame]
Jason Monk3d5f5512014-07-25 11:17:28 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 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-->
Selim Cinek2a1cab12020-06-01 19:19:58 -070017<com.android.systemui.util.NeverExactlyLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
Jason Monk3d5f5512014-07-25 11:17:28 -040019 android:layout_height="wrap_content"
20 android:clickable="true"
21 android:paddingBottom="@dimen/qs_tile_padding_top"
phweiss774c6542017-04-12 19:32:55 +020022 android:paddingTop="@dimen/qs_tile_padding_top"
23 android:paddingStart="@dimen/qs_footer_padding_start"
24 android:paddingEnd="@dimen/qs_footer_padding_end"
25 android:gravity="center_vertical"
Selim Cinek2a1cab12020-06-01 19:19:58 -070026 android:layout_gravity="center_vertical|center_horizontal"
Fabian Kozynski9b4b8522020-06-02 15:01:04 -040027 android:background="@android:color/transparent">
Jason Monk3d5f5512014-07-25 11:17:28 -040028
Selim Cinek2a1cab12020-06-01 19:19:58 -070029 <com.android.systemui.util.AutoMarqueeTextView
Jason Monk3d5f5512014-07-25 11:17:28 -040030 android:id="@+id/footer_text"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
phweiss774c6542017-04-12 19:32:55 +020033 android:gravity="start"
34 android:layout_weight="1"
Selim Cinek2a1cab12020-06-01 19:19:58 -070035 android:singleLine="true"
36 android:ellipsize="marquee"
37 android:marqueeRepeatLimit="marquee_forever"
phweiss774c6542017-04-12 19:32:55 +020038 android:textAppearance="@style/TextAppearance.QS.TileLabel"
Selim Cinek2a1cab12020-06-01 19:19:58 -070039 android:textColor="?android:attr/textColorPrimary"/>
Jason Monk3d5f5512014-07-25 11:17:28 -040040
41 <ImageView
42 android:id="@+id/footer_icon"
phweiss774c6542017-04-12 19:32:55 +020043 android:layout_width="@dimen/qs_footer_icon_size"
44 android:layout_height="@dimen/qs_footer_icon_size"
Selim Cinek2a1cab12020-06-01 19:19:58 -070045 android:layout_marginStart="8dp"
Jason Monk3d5f5512014-07-25 11:17:28 -040046 android:contentDescription="@null"
phweiss0330f882017-04-19 20:14:51 +020047 android:src="@drawable/ic_info_outline"
Selim Cinek2a1cab12020-06-01 19:19:58 -070048 android:tint="?android:attr/textColorPrimary" />
Jason Monk3d5f5512014-07-25 11:17:28 -040049
Selim Cinek2a1cab12020-06-01 19:19:58 -070050</com.android.systemui.util.NeverExactlyLinearLayout>