- Show Airplane mode message when Airplane mode is enabled - Show the same message whether Wi-Fi is enabled or disabled - Screenshot: https://screenshot.googleplex.com/9FgqG7WWskRLZxo https://screenshot.googleplex.com/4g4kvnAT6aYN57s Bug: 181858434 Test: manual test make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest Change-Id: I3cb5a8bc7cb4d1e8678eb6d75116effd00ac9432
34 lines
1.4 KiB
XML
34 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2021 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.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:text="@string/condition_airplane_title"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginStart="@dimen/content_margin_left"
|
|
android:layout_marginEnd="@dimen/content_margin_left"
|
|
android:layout_marginTop="@dimen/airplane_mode_message_margin_vertical"
|
|
android:layout_marginBottom="@dimen/airplane_mode_message_margin_vertical"/>
|
|
</LinearLayout> |