<commit_before><LinearLayout 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"
    tools:context=".HomeActivity"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:orientation="vertical"
    android:layoutDirection="rtl"
    android:id="@+id/home_main_layout"
    android:background="@color/maroon">

    <LinearLayout
        android:id="@+id/home_top_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:gravity="center">

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="115dp"
            android:src="?appLogoHome"/>

    </LinearLayout>


    <LinearLayout
        android:id="@+id/buttons_layout"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="0.5"
            android:orientation="horizontal"
            android:baselineAligned="false">

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/orange"
                android:tag="1">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?eventsHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/dark_orange"
                android:tag="0">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?mapHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="0.5"
            android:orientation="horizontal"
            android:baselineAligned="false">

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/light_green"
                android:tag="2">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?updatesHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/blue"
                android:tag="3">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?arrivalMethodsHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

        </LinearLayout>
    </LinearLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:orientation="horizontal"
        android:layout_marginTop="5dp"
        android:layout_marginBottom="2dp"
        android:onClick="onAboutClicked">

        <amai.org.conventions.customviews.AspectRatioImageView
            android:layout_width="wrap_content"
            android:layout_height="20dp"
            android:layout_gravity="center_vertical"
            android:layout_marginEnd="3dp"
            android:layout_centerVertical="true"
            android:layout_toStartOf="@+id/amai_logo"
            android:src="@drawable/ic_info_outline"/>

        <amai.org.conventions.customviews.AspectRatioImageView
            android:id="@+id/amai_logo"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:src="@drawable/amai_logo"
            android:layout_centerHorizontal="true"/>

    </RelativeLayout>

</LinearLayout>
<commit_msg>About dialog should only open when clicking on the images<commit_after><LinearLayout 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"
    tools:context=".HomeActivity"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:orientation="vertical"
    android:layoutDirection="rtl"
    android:id="@+id/home_main_layout"
    android:background="@color/maroon">

    <LinearLayout
        android:id="@+id/home_top_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:gravity="center">

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="115dp"
            android:src="?appLogoHome"/>

    </LinearLayout>


    <LinearLayout
        android:id="@+id/buttons_layout"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="0.5"
            android:orientation="horizontal"
            android:baselineAligned="false">

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/orange"
                android:tag="1">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?eventsHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/dark_orange"
                android:tag="0">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?mapHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="0.5"
            android:orientation="horizontal"
            android:baselineAligned="false">

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/light_green"
                android:tag="2">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?updatesHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

            <FrameLayout
                android:layout_width="0dp"
                android:layout_weight="0.5"
                android:layout_height="match_parent"
                android:layout_margin="5dp"
                android:onClick="onNavigationButtonClicked"
                android:background="@color/blue"
                android:tag="3">

                <ImageView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:src="?arrivalMethodsHomeImage"
                    android:scaleType="fitCenter"
                    />
            </FrameLayout>

        </LinearLayout>
    </LinearLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:orientation="horizontal"
        android:layout_marginTop="5dp"
        android:layout_marginBottom="2dp">

        <amai.org.conventions.customviews.AspectRatioImageView
            android:layout_width="wrap_content"
            android:layout_height="20dp"
            android:layout_gravity="center_vertical"
            android:layout_marginEnd="3dp"
            android:layout_centerVertical="true"
            android:layout_toStartOf="@+id/amai_logo"
            android:onClick="onAboutClicked"
            android:src="@drawable/ic_info_outline"/>

        <amai.org.conventions.customviews.AspectRatioImageView
            android:id="@+id/amai_logo"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:src="@drawable/amai_logo"
            android:onClick="onAboutClicked"
            android:layout_centerHorizontal="true"/>

    </RelativeLayout>

</LinearLayout>

{'fraction_non_alphanumeric': 0.0988377586695644, 'fraction_numerical': 0.007937257866389493, 'mean_word_length': 1.9839300817592331, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '1212098', 'n_tokens_mistral': 2818, 'n_tokens_neox': 2551, 'n_words': 256}