<commit_before><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingTop="8dp">

    <LinearLayout
        android:id="@+id/map_settings_columns"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:orientation="horizontal" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp">

        <TextView
            android:id="@+id/compacticon_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/map_dot_mode" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:id="@+id/compacticon_tooglegroup"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/compacticon_title"
            app:selectionRequired="true"
            app:singleSelection="true">

            <Button
                android:id="@+id/compacticon_off"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_off" />

            <Button
                android:id="@+id/compacticon_auto"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_auto" />

            <Button
                android:id="@+id/compacticon_on"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_on" />
        </com.google.android.material.button.MaterialButtonToggleGroup>
    </RelativeLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp">

        <TextView
            android:id="@+id/routing_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/map_routing" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:id="@+id/routing_tooglegroup"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/routing_title"
            android:layout_marginTop="6dp"
            app:selectionRequired="true"
            app:singleSelection="true">

            <Button
                android:id="@+id/routing_off"
                style="@style/button_icon"
                app:icon="@drawable/routing_off" />

            <Button
                android:id="@+id/routing_straight"
                style="@style/button_icon"
                app:icon="@drawable/routing_straight" />

            <Button
                android:id="@+id/routing_walk"
                style="@style/button_icon"
                app:icon="@drawable/routing_walk" />

            <Button
                android:id="@+id/routing_bike"
                style="@style/button_icon"
                app:icon="@drawable/routing_bike" />

            <Button
                android:id="@+id/routing_car"
                style="@style/button_icon"
                app:icon="@drawable/routing_car" />
        </com.google.android.material.button.MaterialButtonToggleGroup>

        <ImageButton
            android:id="@+id/routing_info"
            style="@style/button_icon"
            android:src="@drawable/ic_info_blue"
            android:layout_alignParentRight="true"
            android:layout_alignBottom="@id/routing_tooglegroup"
            android:visibility="gone"/>
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/map_settings_autotarget_container"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:visibility="gone">

        <TextView
            android:id="@+id/map_settings_autotarget_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/individual_route" />

        <CheckBox
            android:id="@+id/map_settings_autotarget"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/map_settings_autotarget_title"
            android:text="@string/map_autotarget_individual_route" />
    </RelativeLayout>

    <View
        android:id="@+id/spacer_bottom"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_marginBottom="8dp" />
</LinearLayout>
<commit_msg>fix #10906: mapquicksettings layout on low res devices with SDK 21 (#10907)<commit_after><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingTop="8dp">

    <LinearLayout
        android:id="@+id/map_settings_columns"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:orientation="horizontal" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp">

        <TextView
            android:id="@+id/compacticon_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/map_dot_mode" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:id="@+id/compacticon_tooglegroup"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/compacticon_title"
            app:selectionRequired="true"
            app:singleSelection="true">

            <Button
                android:id="@+id/compacticon_off"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_off" />

            <Button
                android:id="@+id/compacticon_auto"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_auto" />

            <Button
                android:id="@+id/compacticon_on"
                style="@style/button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/switch_on" />
        </com.google.android.material.button.MaterialButtonToggleGroup>
    </RelativeLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp">

        <TextView
            android:id="@+id/routing_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/map_routing" />

        <com.google.android.material.button.MaterialButtonToggleGroup
            android:id="@+id/routing_tooglegroup"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/routing_title"
            android:layout_marginTop="6dp"
            app:selectionRequired="true"
            app:singleSelection="true">

            <Button
                android:id="@+id/routing_off"
                style="@style/button_icon"
                app:icon="@drawable/routing_off" />

            <Button
                android:id="@+id/routing_straight"
                style="@style/button_icon"
                app:icon="@drawable/routing_straight" />

            <Button
                android:id="@+id/routing_walk"
                style="@style/button_icon"
                app:icon="@drawable/routing_walk" />

            <Button
                android:id="@+id/routing_bike"
                style="@style/button_icon"
                app:icon="@drawable/routing_bike" />

            <Button
                android:id="@+id/routing_car"
                style="@style/button_icon"
                app:icon="@drawable/routing_car" />
        </com.google.android.material.button.MaterialButtonToggleGroup>

        <ImageButton
            android:id="@+id/routing_info"
            style="@style/button_icon"
            android:src="@drawable/ic_info_blue"
            android:layout_alignParentRight="true"
            android:layout_alignBottom="@id/routing_tooglegroup"
            android:visibility="gone"/>
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/map_settings_autotarget_container"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="8dp"
        android:layout_marginRight="8dp"
        android:visibility="gone">

        <TextView
            android:id="@+id/map_settings_autotarget_title"
            style="@style/map_quicksettings_subtitle"
            android:text="@string/individual_route" />

        <CheckBox
            android:id="@+id/map_settings_autotarget"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/map_settings_autotarget_title"
            android:text="@string/map_autotarget_individual_route" />
    </RelativeLayout>

    <View
        android:id="@+id/spacer_bottom"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_marginBottom="8dp" />
</LinearLayout>

{'fraction_non_alphanumeric': 0.11395348837209303, 'fraction_numerical': 0.004465116279069767, 'mean_word_length': 2.3471357409713574, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 2, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4426614', 'n_tokens_mistral': 3100, 'n_tokens_neox': 2819, 'n_words': 263}