1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** Copyright 2021, 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-->
17
18<!-- Extends FrameLayout -->
19<com.android.systemui.qs.QSFooterView xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/qs_footer"
21    android:layout_width="match_parent"
22    android:layout_height="@dimen/qs_footer_height"
23    android:layout_marginStart="@dimen/qs_footer_margin"
24    android:layout_marginEnd="@dimen/qs_footer_margin"
25    android:layout_marginBottom="@dimen/qs_footers_margin_bottom"
26    android:background="@android:color/transparent"
27    android:baselineAligned="false"
28    android:clickable="false"
29    android:clipChildren="false"
30    android:clipToPadding="false">
31
32    <LinearLayout
33        android:layout_width="match_parent"
34        android:layout_height="match_parent"
35        android:orientation="vertical">
36
37        <LinearLayout
38            android:layout_width="match_parent"
39            android:layout_height="48dp"
40            android:layout_gravity="center_vertical">
41
42            <TextView
43                android:id="@+id/build"
44                android:layout_width="0dp"
45                android:layout_height="match_parent"
46                android:paddingStart="@dimen/qs_tile_margin_horizontal"
47                android:paddingEnd="4dp"
48                android:layout_weight="1"
49                android:clickable="true"
50                android:ellipsize="marquee"
51                android:focusable="true"
52                android:gravity="center_vertical"
53                android:singleLine="true"
54                android:textAppearance="@style/TextAppearance.QS.Status.Build"
55                android:visibility="gone" />
56
57            <com.android.systemui.qs.PageIndicator
58                android:id="@+id/footer_page_indicator"
59                android:layout_width="wrap_content"
60                android:layout_height="match_parent"
61                android:layout_gravity="center_vertical"
62                android:visibility="gone" />
63
64            <View
65                android:layout_width="0dp"
66                android:layout_height="match_parent"
67                android:layout_weight="1" />
68
69        </LinearLayout>
70
71        <include layout="@layout/footer_actions"
72            android:id="@+id/qs_footer_actions"/>
73
74    </LinearLayout>
75
76</com.android.systemui.qs.QSFooterView>
77