<commit_before><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:background="@color/colorPrimary"
              android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:gravity="center"
        android:orientation="vertical">

        <TextView
            style="@style/Base.TextAppearance.AppCompat.Medium.Inverse"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/basic_gutter"
            android:text="To choose a file to import"/>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="@dimen/basic_gutter"
            android:layout_marginLeft="@dimen/basic_gutter"
            android:layout_marginRight="@dimen/basic_gutter"
            android:layout_marginStart="@dimen/basic_gutter"
            android:background="#FFFFFF"
            android:minWidth="300dp"
            >

            <TextView
                android:id="@id/text_1"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="center_vertical"
                android:lines="1"
                android:padding="@dimen/basic_gutter"
                android:text="file path"/>

            <Button
                android:id="@id/btn_1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Choose"/>

        </LinearLayout>

    </LinearLayout>

    <Button
        android:id="@id/btn_2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:layout_margin="@dimen/basic_gutter"
        android:enabled="false"
        android:minWidth="200dp"
        android:text="Import"/>

</LinearLayout><commit_msg>ui: use more ConstraintLayout to instead of nested-LinearLayout<commit_after><?xml version="1.0" encoding="utf-8"?>

<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/colorPrimary">

    <LinearLayout
        android:id="@android:id/inputArea"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/basic_gutter"
        android:background="@android:color/white"
        android:minWidth="300dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:id="@id/text_1"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:lines="1"
            android:padding="@dimen/basic_gutter"
            android:text="file path" />

        <Button
            android:id="@id/btn_1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Choose" />

    </LinearLayout>

    <TextView
        style="@style/Base.TextAppearance.AppCompat.Medium.Inverse"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/basic_gutter"
        android:text="To choose a file to import"
        app:layout_constraintBottom_toTopOf="@android:id/inputArea"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />


    <Button
        android:id="@id/btn_2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/basic_gutter"
        android:enabled="false"
        android:minWidth="200dp"
        android:text="Import"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />


</android.support.constraint.ConstraintLayout>

{'fraction_non_alphanumeric': 0.11106373907482413, 'fraction_numerical': 0.00682157322532509, 'mean_word_length': 2.820846905537459, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 2, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, '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': '2360466', 'n_tokens_mistral': 1338, 'n_tokens_neox': 1243, 'n_words': 130}