<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:layout_width="match_parent"
                android:layout_height="match_parent">

    <ListView
        android:id="@+id/listViewMessages"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/relSendMessage"
        android:layout_alignParentTop="true"
        android:divider="@null"
        android:dividerHeight="0dp"
        android:padding="0dp"
        android:stackFromBottom="true"
        android:transcriptMode="alwaysScroll"
        tools:listitem="@layout/message"/>


    <RelativeLayout
        android:id="@+id/relSendMessage"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@color/login_tf_background_gray"
        android:paddingLeft="5dp">


        <EditText
            android:id="@+id/editTextMessage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="5dp"
            android:layout_marginRight="10dp"
            android:layout_marginTop="5dp"
            android:layout_toLeftOf="@+id/buttonSend"
            android:background="@drawable/message_input_shape"
            android:hint="@string/message_elipses"
            android:maxHeight="100dp"
            android:maxLength="200"
            android:minHeight="40dp"
            android:padding="7dp"
            android:textColor="@android:color/black"
            android:textSize="14sp"/>

        <Button
            android:id="@+id/buttonSend"
            android:layout_width="50dp"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@+id/editTextMessage"
            android:layout_alignParentRight="true"
            android:layout_alignTop="@+id/editTextMessage"
            android:layout_gravity="center_vertical"
            android:layout_margin="1dp"
            android:background="@android:color/transparent"
            android:gravity="center"
            android:maxHeight="100dp"
            android:minHeight="40dp"
            android:text="Send"
            android:textColor="@color/colorAccent"/>
    </RelativeLayout>
</RelativeLayout><commit_msg>center send button on main chat fragment<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:layout_width="match_parent"
                android:layout_height="match_parent">

    <ListView
        android:id="@+id/listViewMessages"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/relSendMessage"
        android:layout_alignParentTop="true"
        android:divider="@null"
        android:dividerHeight="0dp"
        android:padding="0dp"
        android:stackFromBottom="true"
        android:transcriptMode="alwaysScroll"
        tools:listitem="@layout/message"/>


    <LinearLayout
        android:id="@+id/relSendMessage"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@color/login_tf_background_gray"
        android:paddingLeft="5dp"
        android:orientation="horizontal">


        <EditText
            android:id="@+id/editTextMessage"
            android:layout_width="0dip"
            android:layout_weight=".85"
            android:layout_height="wrap_content"
            android:layout_marginBottom="5dp"
            android:layout_marginTop="5dp"
            android:background="@drawable/message_input_shape"
            android:hint="@string/message_elipses"
            android:maxHeight="100dp"
            android:maxLength="200"
            android:minHeight="40dp"
            android:padding="7dp"
            android:textColor="@android:color/black"
            android:textSize="14sp"/>

        <Button
            android:id="@+id/buttonSend"
            android:layout_width="0dip"
            android:layout_weight=".15"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:background="@android:color/transparent"
            android:gravity="center"
            android:maxHeight="100dp"
            android:minHeight="40dp"
            android:text="Send"
            android:textColor="@color/colorAccent"/>
    </LinearLayout>
</RelativeLayout>
{'fraction_non_alphanumeric': 0.11682340647857889, 'fraction_numerical': 0.01233019853709509, 'mean_word_length': 2.736143637782982, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 2, '>': 19, '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': '5822491', 'n_tokens_mistral': 1352, 'n_tokens_neox': 1242, 'n_words': 122}