<commit_before><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_search_params"
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.cloudycrew.cloudycar.search.SearchParamsActivity">

    <RelativeLayout
        android:id="@+id/search_params_items"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin">

        <android.support.design.widget.TextInputLayout
            android:id="@+id/search_keyword_wrapper"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <EditText
                android:id="@+id/search_keyword"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/search_keyword"
                android:layout_marginBottom="12sp"/>
        </android.support.design.widget.TextInputLayout>

        <RelativeLayout
            android:id="@+id/search_filter_by"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/search_keyword_wrapper">
            <TextView
                android:id="@+id/search_filter_label"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/search_filter_by"
                android:textSize="18sp"
                android:gravity="center_vertical" />
            <RadioGroup
                android:id="@+id/search_filter_group"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/search_filter_label"
                android:orientation="horizontal"
                android:layout_alignParentTop="false"
                android:layout_alignBottom="@+id/search_filter_label"
                android:checkedButton="@+id/search_radio_price">
                <RadioButton
                    android:id="@id/search_radio_price"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/search_price"
                    android:gravity="center_vertical" />
                <RadioButton
                    android:id="@+id/search_radio_price_per_km"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/search_price_per_km" />

            </RadioGroup>
        </RelativeLayout>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/search_price_wrapper"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/search_filter_by">
            <EditText
                android:id="@+id/search_price"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/search_current_price_selected"
                android:inputType="numberDecimal" />
        </android.support.design.widget.TextInputLayout>

        <Button
            android:text="@string/search_choose_location_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/search_choose_location"
            android:layout_below="@id/search_price_wrapper" />



        <TextView
            android:id="@+id/search_within_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            android:textSize="18sp"
            android:text="@string/search_within_text"
            android:layout_below="@+id/search_choose_location"
            android:layout_alignParentStart="true"
            android:paddingLeft="10dp"
            android:paddingTop="10dp" />

        <TextView
            android:text="Choose a location..."
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/location_description"
            android:layout_alignParentEnd="true"
            android:layout_toEndOf="@+id/search_choose_location"
            android:layout_below="@+id/search_price_wrapper"
            android:layout_alignBottom="@+id/search_choose_location"
            android:gravity="left|center_vertical"
            android:ellipsize="end"
            android:paddingLeft="5dp" />

        <Spinner
            android:id="@+id/search_radius_spinner"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"<commit_msg>Added maxLines=1 for location holder<commit_after><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_search_params"
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.cloudycrew.cloudycar.search.SearchParamsActivity">

    <RelativeLayout
        android:id="@+id/search_params_items"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin">

        <android.support.design.widget.TextInputLayout
            android:id="@+id/search_keyword_wrapper"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <EditText
                android:id="@+id/search_keyword"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/search_keyword"
                android:layout_marginBottom="12sp"/>
        </android.support.design.widget.TextInputLayout>

        <RelativeLayout
            android:id="@+id/search_filter_by"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/search_keyword_wrapper">
            <TextView
                android:id="@+id/search_filter_label"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/search_filter_by"
                android:textSize="18sp"
                android:gravity="center_vertical" />
            <RadioGroup
                android:id="@+id/search_filter_group"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/search_filter_label"
                android:orientation="horizontal"
                android:layout_alignParentTop="false"
                android:layout_alignBottom="@+id/search_filter_label"
                android:checkedButton="@+id/search_radio_price">
                <RadioButton
                    android:id="@id/search_radio_price"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/search_price"
                    android:gravity="center_vertical" />
                <RadioButton
                    android:id="@+id/search_radio_price_per_km"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/search_price_per_km" />

            </RadioGroup>
        </RelativeLayout>

        <android.support.design.widget.TextInputLayout
            android:id="@+id/search_price_wrapper"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/search_filter_by">
            <EditText
                android:id="@+id/search_price"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/search_current_price_selected"
                android:inputType="numberDecimal" />
        </android.support.design.widget.TextInputLayout>

        <Button
            android:text="@string/search_choose_location_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/search_choose_location"
            android:layout_below="@id/search_price_wrapper" />



        <TextView
            android:id="@+id/search_within_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            android:textSize="18sp"
            android:text="@string/search_within_text"
            android:layout_below="@+id/search_choose_location"
            android:layout_alignParentStart="true"
            android:paddingLeft="10dp"
            android:paddingTop="10dp" />

        <TextView
            android:text="Choose a location..."
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/location_description"
            android:layout_alignParentEnd="true"
            android:layout_toEndOf="@+id/search_choose_location"
            android:layout_below="@+id/search_price_wrapper"
            android:layout_alignBottom="@+id/search_choose_location"
            android:gravity="left|center_vertical"
            android:maxLines="1"
            android:ellipsize="end"
            android:paddingLeft="5dp" />

        <Spinner
            android:id="@+id/search_radius_spinner"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
{'fraction_non_alphanumeric': 0.10370585952658129, 'fraction_numerical': 0.002910360884749709, 'mean_word_length': 2.42719414893617, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 2, '>': 41, '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': '2274000', 'n_tokens_mistral': 2829, 'n_tokens_neox': 2564, 'n_words': 222}