Solution: Add ScrollView to let it can scroll the dialog content Bug: 416646909 Test: Change to large display size, the observe 'Default microphone for calls' dialog Flag: EXEMPT bugfix Change-Id: I4887a0b30d826e0d31634b5ce19ac5efc5b354c0
58 lines
2.4 KiB
XML
58 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024 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.
|
|
-->
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textDirection="locale"
|
|
android:layoutDirection="locale"
|
|
android:scrollbarStyle="outsideOverlay">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="?android:attr/dialogPreferredPadding"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
android:text="@string/bluetooth_hearing_device_input_routing_dialog_summary" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/input_routing_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:checkedButton="@id/input_from_hearing_device">
|
|
<RadioButton
|
|
android:id="@+id/input_from_hearing_device"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:text="@string/bluetooth_hearing_device_input_routing_hearing_device_option"/>
|
|
<RadioButton
|
|
android:id="@+id/input_from_builtin_mic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:text="@string/bluetooth_hearing_device_input_routing_builtin_option"/>
|
|
</RadioGroup>
|
|
</LinearLayout>
|
|
</ScrollView>
|