<commit_before><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/content_main"
    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"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context="com.lena.googletranslateexample.GoogleTranslateExampleActivity"
    tools:showIn="@layout/gt_app_bar_main"
    android:padding="0dp"
    android:background="@color/gt_colorBackground">
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/ScrollView01"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" >

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

        <LinearLayout
            android:id="@+id/gt_translate_layout"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/gt_colorItems"
            android:paddingBottom="16dp"
            android:paddingTop="8dp">


            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingEnd="16dp"
                android:paddingStart="16dp"
                android:paddingBottom="8dp"
                >

                <Spinner
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/from_spinner"
                    android:layout_alignParentStart="true"
                    android:paddingTop="8dp"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_compare_arrows_black_24px"
                    android:id="@+id/imageButton"
                    android:background="@color/gt_colorItems"
                    android:layout_centerInParent="true"
                    android:paddingBottom="8dp"/>

                <Spinner
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/to_spinner"
                    android:layout_alignParentEnd="true"
                    android:paddingTop="8dp"/>
            </RelativeLayout>

            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="@color/gt_divider"/>

            <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="textPersonName"
                android:text="@string/gt_text_input"
                android:ems="10"
                android:id="@+id/editText"
                android:textColor="@color/gt_colorGray"
                android:textSize="22sp"
                android:paddingBottom="60dp"
                android:paddingLeft="16dp"
                android:paddingRight="16dp"
                android:textColorLink="@color/gt_colorItems"
                android:background="@android:color/transparent"
                android:paddingTop="16dp"/>

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingEnd="16dp"
                android:paddingStart="16dp">

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_menu_camera"
                    android:id="@+id/imageButton4"
                    android:layout_alignParentStart="true"
                    android:background="@color/gt_colorItems"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_keyboard_voice_black_24px"
                    android:id="@+id/imageButton3"
                    android:layout_centerInParent="true"
                    android:background="@color/gt_colorItems"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_gesture_black_24px"
                    android:id="@+id/imageButton2"
                    android:layout_alignParentEnd="true"
                    android:background="@color/gt_colorItems"/>
            </RelativeLayout>
        </LinearLayout>

        <RelativeLayout
            android:id="@+id/gt_new_layout"
            android:orientation="horizontal"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@color/gt_colorItems"
            android:layout_marginLeft="8dp"
            android:layout_marginRight="8dp"
            android:layout_marginTop="8dp"
            android:paddingEnd="16dp">


            <ImageView
                app:srcCompat="@drawable/ic_gt_adv_small"
                android:id="@+id/imageView2"
                android:layout_alignParentLeft="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

            <LinearLayout
                android:id="@+id/gy_adv_label_layout"
                android:orientation="vertical"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:padding="16dp"
                android:layout_toEndOf="@id/imageView2"
                >

                <LinearLayout
                    android:orientation="horizontal"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content">

                    <TextView
                        android:text="@string/gt_adv_title_part1"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:id="@+id/textView_gt_adv_title_part1"<commit_msg>Set correct width to gt advertisment<commit_after><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/content_main"
    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"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context="com.lena.googletranslateexample.GoogleTranslateExampleActivity"
    tools:showIn="@layout/gt_app_bar_main"
    android:padding="0dp"
    android:background="@color/gt_colorBackground">
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/ScrollView01"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" >

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

        <LinearLayout
            android:id="@+id/gt_translate_layout"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/gt_colorItems"
            android:paddingBottom="16dp"
            android:paddingTop="8dp">


            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingEnd="16dp"
                android:paddingStart="16dp"
                android:paddingBottom="8dp"
                >

                <Spinner
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/from_spinner"
                    android:layout_alignParentStart="true"
                    android:paddingTop="8dp"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_compare_arrows_black_24px"
                    android:id="@+id/imageButton"
                    android:background="@color/gt_colorItems"
                    android:layout_centerInParent="true"
                    android:paddingBottom="8dp"/>

                <Spinner
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/to_spinner"
                    android:layout_alignParentEnd="true"
                    android:paddingTop="8dp"/>
            </RelativeLayout>

            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="@color/gt_divider"/>

            <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="textPersonName"
                android:text="@string/gt_text_input"
                android:ems="10"
                android:id="@+id/editText"
                android:textColor="@color/gt_colorGray"
                android:textSize="22sp"
                android:paddingBottom="60dp"
                android:paddingLeft="16dp"
                android:paddingRight="16dp"
                android:textColorLink="@color/gt_colorItems"
                android:background="@android:color/transparent"
                android:paddingTop="16dp"/>

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingEnd="16dp"
                android:paddingStart="16dp">

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_menu_camera"
                    android:id="@+id/imageButton4"
                    android:layout_alignParentStart="true"
                    android:background="@color/gt_colorItems"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_keyboard_voice_black_24px"
                    android:id="@+id/imageButton3"
                    android:layout_centerInParent="true"
                    android:background="@color/gt_colorItems"/>

                <ImageButton
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:srcCompat="@drawable/ic_gesture_black_24px"
                    android:id="@+id/imageButton2"
                    android:layout_alignParentEnd="true"
                    android:background="@color/gt_colorItems"/>
            </RelativeLayout>
        </LinearLayout>

        <RelativeLayout
            android:id="@+id/gt_new_layout"
            android:orientation="horizontal"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@color/gt_colorItems"
            android:layout_marginLeft="8dp"
            android:layout_marginRight="8dp"
            android:layout_marginTop="8dp"
            android:paddingEnd="16dp">


            <ImageView
                app:srcCompat="@drawable/ic_gt_adv_small"
                android:id="@+id/imageView2"
                android:layout_alignParentLeft="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                />

            <LinearLayout
                android:id="@+id/gy_adv_label_layout"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="16dp"
                android:layout_toEndOf="@id/imageView2"
                >

                <LinearLayout
                    android:orientation="horizontal"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content">

                    <TextView
                        android:text="@string/gt_adv_title_part1"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:id="@+id/textView_gt_adv_title_part1"
{'fraction_non_alphanumeric': 0.09733929487649344, 'fraction_numerical': 0.00791614747489555, 'mean_word_length': 1.9291541434091886, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 2, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '1794169', 'n_tokens_mistral': 3660, 'n_tokens_neox': 3235, 'n_words': 288}