1<!--
2  ~ Copyright (C) 2019 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<com.android.systemui.shade.carrier.ShadeCarrier
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/linear_carrier"
20    android:layout_width="wrap_content"
21    android:layout_height="match_parent"
22    android:minWidth="48dp"
23    android:orientation="horizontal"
24    android:gravity="center_vertical|start"
25    android:background="@android:color/transparent"
26    android:clickable="false"
27    android:clipChildren="false"
28    android:clipToPadding="false"
29    android:focusable="true" >
30
31    <com.android.systemui.util.AutoMarqueeTextView
32        android:id="@+id/shade_carrier_text"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        android:layout_weight="1"
36        android:textAppearance="@style/TextAppearance.QS.Status.Carriers"
37        android:textDirection="locale"
38        android:marqueeRepeatLimit="marquee_forever"
39        android:singleLine="true"
40        android:maxEms="7"/>
41
42    <View
43        android:id="@+id/spacer"
44        android:layout_width="@dimen/qs_carrier_margin_width"
45        android:layout_height="match_parent"
46        android:visibility="gone"
47    />
48
49    <include
50        layout="@layout/mobile_signal_group"
51        android:layout_width="wrap_content"
52        android:layout_height="wrap_content"
53        android:layout_marginStart="@dimen/qs_carrier_margin_width"
54        android:visibility="gone" />
55
56</com.android.systemui.shade.carrier.ShadeCarrier>