<commit_before><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" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context="edu.pdx.oss.asthmacontrol.UpdateAsthmaTimeActivity"
    android:background="#006699">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:text="Date(s) of when your asthma kept you from getting as much done at work, school or at home"
        android:id="@+id/textView"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:textSize="16dp"
        android:textColor="@android:color/white" />

    <GridView
        android:layout_width="wrap_content"
        android:layout_height="270dp"
        android:id="@+id/gridView"
        android:stretchMode="columnWidth"
        android:gravity="center"
        android:background="@android:color/darker_gray"
        android:listSelector="@color/highlighted_text_material_dark"
        android:clickable="true"
        android:numColumns="1"
        android:layout_below="@+id/textView"
        android:layout_marginTop="5dp"
        android:layout_centerHorizontal="true" />

    <EditText
        android:layout_width="110dp"
        android:layout_height="37dp"
        android:id="@+id/dateText"
        android:background="@android:color/white"
        android:layout_below="@+id/gridView"
        android:layout_marginTop="5dp"
        android:layout_marginRight="5dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:gravity="center" />

    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/imageButton"
        android:background="@drawable/calendar"
        android:layout_alignTop="@+id/dateText"
        android:layout_toRightOf="@+id/dateText"
        android:layout_alignBottom="@+id/dateText" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Add a new date"
        android:id="@+id/addDateButton"
        android:layout_below="@+id/gridView"
        android:layout_toRightOf="@+id/imageButton"
        android:layout_alignRight="@+id/gridView"
        android:layout_alignEnd="@+id/gridView" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Delete a date"
        android:id="@+id/deleteDateButton"
        android:layout_below="@+id/addDateButton"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignRight="@+id/addDateButton"
        android:layout_alignEnd="@+id/addDateButton"
        android:layout_marginTop="10dp"/>

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Back to main menu"
        android:id="@+id/backButton"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignRight="@+id/deleteDateButton"
        android:layout_alignEnd="@+id/deleteDateButton" />

    <DatePicker
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/datePicker"
        android:layout_alignTop="@+id/gridView"
        android:layout_centerHorizontal="true" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="D"
        android:id="@+id/deleteAllButton"
        android:layout_above="@+id/backButton"
        android:layout_alignRight="@+id/deleteDateButton"
        android:layout_alignEnd="@+id/deleteDateButton" />


</RelativeLayout>
<commit_msg>Adding two buttons. One button for showing all dates on the GridView. The other button for showing date(s) over the past four weeks on the same GridView.<commit_after><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" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context="edu.pdx.oss.asthmacontrol.UpdateAsthmaTimeActivity"
    android:background="#006699">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:text="Date(s) of when your asthma kept you from getting as much done at work, school or at home"
        android:id="@+id/textView"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:textSize="16dp"
        android:textColor="@android:color/white" />

    <GridView
        android:layout_width="150dp"
        android:layout_height="270dp"
        android:id="@+id/gridView"
        android:stretchMode="columnWidth"
        android:gravity="center"
        android:background="@android:color/darker_gray"
        android:listSelector="@color/highlighted_text_material_dark"
        android:clickable="true"
        android:numColumns="1"
        android:layout_alignTop="@+id/datePicker"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />

    <EditText
        android:layout_width="110dp"
        android:layout_height="37dp"
        android:id="@+id/dateText"
        android:background="@android:color/white"
        android:gravity="center"
        android:layout_below="@+id/gridView"
        android:layout_marginTop="10dp"
        android:layout_marginRight="5dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />

    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/imageButton"
        android:background="@drawable/calendar"
        android:layout_alignTop="@+id/dateText"
        android:layout_toRightOf="@+id/dateText"
        android:layout_alignBottom="@+id/dateText" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Add a new date"
        android:id="@+id/addDateButton"
        android:layout_below="@+id/gridView"
        android:layout_marginTop="5dp"
        android:layout_toRightOf="@+id/imageButton"
        android:layout_alignRight="@+id/showFourWeeksButton"
        android:layout_alignEnd="@+id/showFourWeeksButton" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Delete a date"
        android:id="@+id/deleteDateButton"
        android:layout_below="@+id/addDateButton"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignRight="@+id/addDateButton"
        android:layout_alignEnd="@+id/addDateButton"
        android:layout_marginTop="10dp"/>

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Back to main menu"
        android:id="@+id/backButton"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignRight="@+id/deleteDateButton"
        android:layout_alignEnd="@+id/deleteDateButton" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="D"
        android:id="@+id/deleteAllButton"
        android:layout_above="@+id/backButton"
        android:layout_alignRight="@+id/deleteDateButton"
        android:layout_alignEnd="@+id/deleteDateButton" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Show All"
        android:id="@+id/showAllButton"
        android:layout_alignTop="@+id/gridView"
        android:layout_alignLeft="@+id/showFourWeeksButton"
        android:layout_alignStart="@+id/showFourWeeksButton"
        android:layout_alignRight="@+id/showFourWeeksButton"
        android:layout_alignEnd="@+id/showFourWeeksButton" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Show past four weeks"
        android:id="@+id/showFourWeeksButton"
        android:layout_alignBottom="@id/gridView"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true" />

    <DatePicker
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/datePicker"
        android:layout_below="@+id/textView"
        android:layout_centerHorizontal="true" />


</RelativeLayout>

{'fraction_non_alphanumeric': 0.11769607332569525, 'fraction_numerical': 0.004999479220914488, 'mean_word_length': 3.8034017008504253, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '7317041', 'n_tokens_mistral': 2880, 'n_tokens_neox': 2643, 'n_words': 297}