Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12a34410 authored by jasonwshsu's avatar jasonwshsu
Browse files

Fix 'Default microphone for calls' dialog display incorrectly in large display size config

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
parent 21d53b2a
Loading
Loading
Loading
Loading
+31 −25
Original line number Diff line number Diff line
@@ -15,16 +15,22 @@
     limitations under the License.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="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:textDirection="locale"
        android:textAppearance="?android:attr/textAppearanceListItemSecondary"
        android:text="@string/bluetooth_hearing_device_input_routing_dialog_summary" />

@@ -47,5 +53,5 @@
                android:minHeight="?android:attr/listPreferredItemHeight"
                android:text="@string/bluetooth_hearing_device_input_routing_builtin_option"/>
        </RadioGroup>

    </LinearLayout>
</ScrollView>