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.qs.QSCarrier 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 <include 32 layout="@layout/mobile_signal_group" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:layout_marginEnd="@dimen/qs_carrier_margin_width" 36 android:visibility="gone" /> 37 38 <com.android.systemui.util.AutoMarqueeTextView 39 android:id="@+id/qs_carrier_text" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:layout_weight="1" 43 android:textAppearance="@style/TextAppearance.QS.Status" 44 android:textDirection="locale" 45 android:marqueeRepeatLimit="marquee_forever" 46 android:singleLine="true" 47 android:maxEms="7"/> 48 49</com.android.systemui.qs.QSCarrier>