When config_showOperatorNameInStatusBar is true, the network name is displayed in the status bar. The user can turn on/off the feature from Settings app (Settings > Display > Network name). Fixes: 67620513 Test: manual - insert a valid SIM and go to the Home screen. Change-Id: I6d03ec00a19e2f5e4c2d2918f1a7c33fdee00dd2
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2017 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<com.android.systemui.statusbar.AlphaOptimizedFrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/operator_name_frame"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
>
|
|
<com.android.systemui.statusbar.OperatorNameView
|
|
android:id="@+id/operator_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:maxLength="20"
|
|
android:gravity="center_vertical|start"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:singleLine="true" />
|
|
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
|