<commit_before><?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res/com.nilhcem.hostseditor"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <!-- IP (label) -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_ip"
            android:textSize="@dimen/add_edit_label_size"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- IP (input) -->
        <EditText
            android:id="@+id/addEditHostIp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:digits="0123456789.:"
            android:ems="10"
            android:inputType="textNoSuggestions" >

            <requestFocus />
        </EditText>

        <!-- Hostname (label) -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_name"
            android:textSize="@dimen/add_edit_label_size"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- Hostname (input) -->
        <EditText
            android:id="@+id/addEditHostName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:ems="10"
            android:inputType="textNoSuggestions" />

        <!-- Comment (label) - hidden by default -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:id="@+id/addEditCommentLabel"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_comment"
            android:textSize="@dimen/add_edit_label_size"
            android:visibility="gone"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- Comment (input) - hidden by default -->
        <EditText
            android:id="@+id/addEditComment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:ems="10"
            android:inputType="text"
            android:visibility="gone" />

        <!-- "Add/Edit Host" Button -->
        <com.nilhcem.hostseditor.widget.TypefacedButton
            android:id="@+id/addEditHostButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="10dp"
            android:drawableLeft="@drawable/ic_action_add_dark"
            android:drawablePadding="8dp"
            app:typeface="fonts/Roboto-Light.ttf" />
    </LinearLayout>

</ScrollView>
<commit_msg>Add Edit Host Layout now supports ipv6<commit_after><?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res/com.nilhcem.hostseditor"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <!-- IP (label) -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_ip"
            android:textSize="@dimen/add_edit_label_size"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- IP (input) -->
        <EditText
            android:id="@+id/addEditHostIp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:digits="0123456789abcdefABCDEF.:"
            android:ems="10"
            android:inputType="textNoSuggestions" >

            <requestFocus />
        </EditText>

        <!-- Hostname (label) -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_name"
            android:textSize="@dimen/add_edit_label_size"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- Hostname (input) -->
        <EditText
            android:id="@+id/addEditHostName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:ems="10"
            android:inputType="textNoSuggestions" />

        <!-- Comment (label) - hidden by default -->
        <com.nilhcem.hostseditor.widget.TypefacedTextView
            android:id="@+id/addEditCommentLabel"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_edit_comment"
            android:textSize="@dimen/add_edit_label_size"
            android:visibility="gone"
            app:typeface="fonts/Roboto-Regular.ttf" />

        <!-- Comment (input) - hidden by default -->
        <EditText
            android:id="@+id/addEditComment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/add_edit_form_margin"
            android:ems="10"
            android:inputType="text"
            android:visibility="gone" />

        <!-- "Add/Edit Host" Button -->
        <com.nilhcem.hostseditor.widget.TypefacedButton
            android:id="@+id/addEditHostButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="10dp"
            android:drawableLeft="@drawable/ic_action_add_dark"
            android:drawablePadding="8dp"
            app:typeface="fonts/Roboto-Light.ttf" />
    </LinearLayout>

</ScrollView>

{'fraction_non_alphanumeric': 0.12122912866563772, 'fraction_numerical': 0.006314017118001964, 'mean_word_length': 2.6685537828100876, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 2, '>': 45, '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': '5198502', 'n_tokens_mistral': 2118, 'n_tokens_neox': 1958, 'n_words': 192}