Fabian Kozynski | 1823f11 | 2019-01-18 11:43:29 -0500 | [diff] [blame] | 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 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/linear_footer_carrier" |
| 20 | android:layout_width="0dp" |
| 21 | android:layout_height="match_parent" |
| 22 | android:orientation="horizontal" |
| 23 | android:layout_weight="1" |
| 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:paddingStart="16dp" > |
| 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="8dp" |
| 36 | android:visibility="gone" /> |
| 37 | |
| 38 | <view class="com.android.systemui.qs.QSFooterImpl$QSCarrierText" |
| 39 | android:id="@+id/qs_carrier_text" |
| 40 | android:layout_width="0dp" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_weight="1" |
| 43 | android:ellipsize="marquee" |
| 44 | android:textAppearance="@style/TextAppearance.QS.CarrierInfo" |
| 45 | android:textColor="?android:attr/textColorPrimary" |
| 46 | android:textDirection="locale" |
| 47 | android:singleLine="true" /> |
| 48 | |
| 49 | </LinearLayout> |