<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"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingTop="24dp"
    android:paddingLeft="24dp"
    android:paddingRight="24dp"
    android:background="@color/gray_background"

    >
    <ve.com.abicelis.chefbuddy.views.FancyTitleTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/dialog_add_recipe_ingredient_title"
        custom:default_padding="false"
        />


    <LinearLayout
        android:layout_width="300dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:orientation="vertical">


        <ve.com.abicelis.chefbuddy.views.FancyEditText
            android:id="@+id/dialog_add_recipe_ingredient_amount"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            custom:icon="@drawable/ic_amount"
            custom:hint="@string/dialog_add_recipe_ingredient_amount_hint"
            custom:maxLines="2"
            />
        <ve.com.abicelis.chefbuddy.views.FancySpinner
            android:id="@+id/dialog_add_recipe_ingredient_measurement"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            custom:icon="@drawable/ic_measurement_cup"

            />


        <ve.com.abicelis.chefbuddy.views.FancyAutoCompleteTextView
            android:id="@+id/dialog_add_recipe_ingredient_ingredient"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            custom:maxLines="1"
            custom:icon="@drawable/ic_food"
            custom:hint="@string/dialog_add_recipe_ingredient_ingredient_hint"
            />


    </LinearLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginRight="-24dp"
        android:layout_marginEnd="-24dp"
        android:padding="8dp">
        <Button
            android:id="@+id/dialog_add_recipe_ingredient_ok"
            android:layout_width="wrap_content"
            android:layout_height="36dp"
            android:text="@string/dialog_done"
            android:layout_alignParentRight="true"
            android:layout_alignParentEnd="true"
            style="?attr/borderlessButtonStyle"/>

        <Button
            android:id="@+id/dialog_add_recipe_ingredient_cancel"
            android:layout_width="wrap_content"
            android:layout_height="36dp"
            android:layout_toStartOf="@id/dialog_add_recipe_ingredient_ok"
            android:layout_toLeftOf="@id/dialog_add_recipe_ingredient_ok"
            android:text="@string/dialog_cancel"
            style="?attr/borderlessButtonStyle"/>
    </RelativeLayout>
</LinearLayout><commit_msg>Perfected (i hope) que layout of buttons on dialogs<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"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:background="@color/gray_background"
    >

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="24dp"
        >
        <ve.com.abicelis.chefbuddy.views.FancyTitleTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/dialog_add_recipe_ingredient_title"
            custom:default_padding="false"
            />


        <LinearLayout
            android:layout_width="300dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:orientation="vertical">


            <ve.com.abicelis.chefbuddy.views.FancyEditText
                android:id="@+id/dialog_add_recipe_ingredient_amount"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                custom:icon="@drawable/ic_amount"
                custom:hint="@string/dialog_add_recipe_ingredient_amount_hint"
                custom:maxLines="2"
                />
            <ve.com.abicelis.chefbuddy.views.FancySpinner
                android:id="@+id/dialog_add_recipe_ingredient_measurement"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="8dp"
                custom:icon="@drawable/ic_measurement_cup"

                />


            <ve.com.abicelis.chefbuddy.views.FancyAutoCompleteTextView
                android:id="@+id/dialog_add_recipe_ingredient_ingredient"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="8dp"
                custom:maxLines="1"
                custom:icon="@drawable/ic_food"
                custom:hint="@string/dialog_add_recipe_ingredient_ingredient_hint"
                />


        </LinearLayout>
    </LinearLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="24dp"
            android:paddingStart="24dp"
            android:paddingBottom="8dp"
            android:paddingRight="8dp"
            android:paddingEnd="8dp"
            >
            <Button
                android:id="@+id/dialog_add_recipe_ingredient_ok"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/dialog_done"
                android:layout_alignParentRight="true"
                android:layout_alignParentEnd="true"
                style="?attr/borderlessButtonStyle"/>

            <Button
                android:id="@+id/dialog_add_recipe_ingredient_cancel"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="8dp"
                android:layout_marginEnd="8dp"
                android:layout_toStartOf="@id/dialog_add_recipe_ingredient_ok"
                android:layout_toLeftOf="@id/dialog_add_recipe_ingredient_ok"
                android:text="@string/dialog_cancel"
                style="?attr/borderlessButtonStyle"/>
        </RelativeLayout>


</LinearLayout>
{'fraction_non_alphanumeric': 0.1046078992558672, 'fraction_numerical': 0.007155123068116772, 'mean_word_length': 2.6044352759154203, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 2, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '10907', 'n_tokens_mistral': 2100, 'n_tokens_neox': 1943, 'n_words': 154}