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

    <AnalogClock
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/analogClock"
        android:layout_below="@+id/main_kissbar"
        android:layout_centerHorizontal="true" />
    <ListView
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/searchEditLayout"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:background="?attr/listBackgroundColor"
        android:cacheColorHint="@android:color/transparent"
        android:divider="?attr/dividerDrawable"
        android:dividerHeight="1dp"
        android:elevation="2dp"
        android:stackFromBottom="true"
        android:transcriptMode="alwaysScroll">
    </ListView>

    <RelativeLayout
        android:id="@+id/searchEditLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_margin="10dp"
        android:background="?attr/searchBackgroundColor"
        android:clipToPadding="false"
        android:elevation="2dp"
        android:padding="4dp">

        <ImageView
            android:id="@+id/launcherButton"
            android:layout_width="41dp"
            android:layout_height="32dp"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:contentDescription="@string/main_kiss"
            android:focusable="true"
            android:onClick="onLauncherButtonClicked"
            android:paddingLeft="6dp"
            android:paddingRight="10dp"
            android:src="@drawable/ic_launcher_icon"
            android:tag="showMenu"/>

        <ImageView
            android:id="@+id/launcherButton2"
            android:layout_width="41dp"
            android:layout_height="32dp"
            android:layout_toEndOf="@id/launcherButton"
            android:layout_toRightOf="@id/launcherButton"
            android:layout_centerVertical="true"
            android:contentDescription="@string/main_kiss"
            android:focusable="true"
            android:onClick="onLauncherButtonClicked"
            android:paddingLeft="6dp"
            android:paddingRight="10dp"
            android:src="@drawable/ic_launcher_icon"
            android:tag="showMenu"/>

        <ProgressBar
            android:id="@+id/loaderBar"
            android:layout_width="25dp"
            android:layout_height="25dp"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="6dp"
            android:layout_marginRight="10dp"
            android:indeterminate="true"
            android:visibility="gone"/>

        <EditText
            android:id="@+id/searchEditText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toEndOf="@+id/launcherButton"
            android:layout_toLeftOf="@+id/clearButton"
            android:layout_toRightOf="@+id/launcherButton2"
            android:layout_toStartOf="@+id/clearButton"
            android:background="?attr/searchBackgroundColor"
            android:hint="@string/ui_search_hint"
            android:imeOptions="flagNoExtractUi|actionSearch"
            android:inputType="textVisiblePassword|textNoSuggestions"
            android:singleLine="true"
            android:textColor="?attr/searchColor"
            android:textColorHint="?android:attr/textColorSecondary"
            android:textCursorDrawable="@drawable/cursor"
            android:textSize="16sp"/>

        <ImageView
            android:id="@+id/menuButton"
            android:layout_width="wrap_content"
            android:layout_height="32dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10dp"
            android:contentDescription="@string/main_menu"
            android:focusable="true"
            android:onClick="onMenuButtonClicked"
            android:paddingBottom="4dp"
            android:paddingLeft="1dp"
            android:paddingRight="1dp"
            android:paddingTop="4dp"
            android:src="@drawable/dots"
            android:tint="?attr/searchColor"
            />

        <ImageView
            android:id="@+id/clearButton"
            android:layout_width="wrap_content"
            android:layout_height="32dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10dp"
            android:contentDescription="@string/main_clear"
            android:focusable="true"
            android:onClick="onClearButtonClicked"
            android:paddingBottom="4dp"
            android:paddingLeft="1dp"
            android:paddingRight="1dp"
            android:paddingTop="4dp"
            android:src="@drawable/clear_dark"
            android:tint="?attr/searchColor"
            android:visibility="visible"/>
    </RelativeLayout>

    <ScrollView
        android:id="@android:id/empty"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@id/searchEditLayout"
        android:visibility="gone">

        <include android:id="@+id/main_empty" layout="@layout/main_empty"/>
    </ScrollView>

    <include
        android:id="@+id/main_kissbar"
        layout="@layout/main_kissbar"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_below="@android:id/list"
        android:layout_margin="10dp"
        android:visibility="gone"/>



</RelativeLayout><commit_msg>Played around with Favorites button functionality<commit_after><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    android:id="@+id/RelativeLayout1"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical">

    <AnalogClock
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/analogClock"
        android:layout_below="@+id/main_kissbar"
        android:layout_centerHorizontal="true" />
    <ListView
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/searchEditLayout"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:background="?attr/listBackgroundColor"
        android:cacheColorHint="@android:color/transparent"
        android:divider="?attr/dividerDrawable"
        android:dividerHeight="1dp"
        android:elevation="2dp"
        android:stackFromBottom="true"
        android:transcriptMode="alwaysScroll">
    </ListView>

    <RelativeLayout
        android:id="@+id/searchEditLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_margin="10dp"
        android:background="?attr/searchBackgroundColor"
        android:clipToPadding="false"
        android:elevation="2dp"
        android:padding="4dp">

        <ImageView
            android:id="@+id/launcherButton"
            android:layout_width="41dp"
            android:layout_height="32dp"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:contentDescription="@string/main_kiss"
            android:focusable="true"
            android:onClick="onLauncherButtonClicked"
            android:paddingLeft="6dp"
            android:paddingRight="10dp"
            android:src="@drawable/ic_launcher_icon"
            android:tag="showMenu"/>

        <ImageView
            android:id="@+id/launcherButton2"
            android:layout_width="41dp"
            android:layout_height="32dp"
            android:layout_toEndOf="@id/launcherButton"
            android:layout_toRightOf="@id/launcherButton"
            android:layout_centerVertical="true"
            android:contentDescription="@string/main_kiss"
            android:focusable="true"
            android:onClick="onLauncherButtonClicked"
            android:paddingLeft="6dp"
            android:paddingRight="10dp"
            android:src="@drawable/ic_launcher_icon"
            android:tag="showMenu"/>

        <ProgressBar
            android:id="@+id/loaderBar"
            android:layout_width="25dp"
            android:layout_height="25dp"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="6dp"
            android:layout_marginRight="10dp"
            android:indeterminate="true"
            android:visibility="gone"/>

        <EditText
            android:id="@+id/searchEditText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toEndOf="@+id/launcherButton"
            android:layout_toLeftOf="@+id/clearButton"
            android:layout_toRightOf="@+id/launcherButton2"
            android:layout_toStartOf="@+id/clearButton"
            android:background="?attr/searchBackgroundColor"
            android:hint="@string/ui_search_hint"
            android:imeOptions="flagNoExtractUi|actionSearch"
            android:inputType="textVisiblePassword|textNoSuggestions"
            android:singleLine="true"
            android:textColor="?attr/searchColor"
            android:textColorHint="?android:attr/textColorSecondary"
            android:textCursorDrawable="@drawable/cursor"
            android:textSize="16sp"/>

        <ImageView
            android:id="@+id/menuButton"
            android:layout_width="wrap_content"
            android:layout_height="32dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10dp"
            android:contentDescription="@string/main_menu"
            android:focusable="true"
            android:onClick="onMenuButtonClicked"
            android:paddingBottom="4dp"
            android:paddingLeft="1dp"
            android:paddingRight="1dp"
            android:paddingTop="4dp"
            android:src="@drawable/dots"
            android:tint="?attr/searchColor"
            />

        <ImageView
            android:id="@+id/clearButton"
            android:layout_width="wrap_content"
            android:layout_height="32dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10dp"
            android:contentDescription="@string/main_clear"
            android:focusable="true"
            android:onClick="onClearButtonClicked"
            android:paddingBottom="4dp"
            android:paddingLeft="1dp"
            android:paddingRight="1dp"
            android:paddingTop="4dp"
            android:src="@drawable/clear_dark"
            android:tint="?attr/searchColor"
            android:visibility="visible"/>
    </RelativeLayout>

    <ScrollView
        android:id="@android:id/empty"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@id/searchEditLayout"
        android:visibility="gone">

        <include android:id="@+id/main_empty" layout="@layout/main_empty"/>
    </ScrollView>

    <include
        android:id="@+id/main_kissbar"
        layout="@layout/main_kissbar"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_above="@id/searchEditLayout"
        android:layout_margin="10dp"
        android:visibility="gone"/>



</RelativeLayout>
{'fraction_non_alphanumeric': 0.11056721056721057, 'fraction_numerical': 0.008857808857808859, 'mean_word_length': 2.801240401653869, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 2, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1188071', 'n_tokens_mistral': 3614, 'n_tokens_neox': 3373, 'n_words': 310}