<commit_before><ScrollView 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:padding="0dp"
    tools:context="uk.gov.eastlothian.gowalk.ui.RouteDetailActivity.RouteDetailFragment">

    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <!--
        <View
            android:id="@+id/route_detail_background_rect"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="@drawable/rectangle"/>
        -->

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:id="@+id/route_detail_linear_layout"
            android:orientation="vertical">

            <LinearLayout
                android:orientation="horizontal"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="16dp"
                android:id="@+id/route_detail_header">

                <RelativeLayout
                    android:layout_width="64dp"
                    android:layout_height="64dp">

                    <View
                        android:id="@+id/route_detail_circle"
                        android:layout_width="54dp"
                        android:layout_height="54dp"
                        android:layout_centerInParent="true"
                        android:background="@drawable/big_circle"/>

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="123"
                        android:id="@+id/route_detail_route_num"
                        android:textColor="@android:color/white" />

                </RelativeLayout>

                <LinearLayout
                    android:orientation="vertical"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/activity_horizontal_margin">

                    <TextView
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:textSize="16dip"
                        android:paddingBottom="5dp"
                        android:id="@+id/route_detail_description"
                        android:text="Description of the route"
                        android:textColor="@android:color/white" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textAppearance="?android:attr/textAppearanceSmall"
                        android:text="Description of the area"
                        android:id="@+id/route_detail_area_description"
                        android:textStyle="italic"
                        android:textColor="@android:color/white" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:paddingBottom="@dimen/activity_vertical_margin_small"
                        android:textAppearance="?android:attr/textAppearanceSmall"
                        android:textStyle="italic"
                        android:text="1658m"
                        android:id="@+id/route_detail_length"
                        android:textColor="@android:color/white" />

                </LinearLayout>

            </LinearLayout>

            <fragment
                android:id="@+id/route_detail_mapview"
                android:layout_width="match_parent"
                android:layout_height="200dp"
                class="com.google.android.gms.maps.SupportMapFragment" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:paddingTop="@dimen/activity_vertical_margin"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:text="@string/route_detail_surface_label"
                android:textStyle="bold"
                android:id="@+id/route_detail_accessibility_label"
                android:layout_gravity="center_horizontal" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:text="Surface"
                android:id="@+id/route_detail_surface_text"
                android:layout_gravity="center_horizontal" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:paddingTop="@dimen/activity_vertical_margin"
                android:textStyle="bold"
                android:text=""
                android:id="@+id/route_detail_wildlife_label"
                android:layout_gravity="center_horizontal"
                android:textAlignment="center" />

            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:orientation="vertical"
                android:id="@+id/route_detail_wildlife_insert_point"
                android:gravity="center"> </LinearLayout>

        </LinearLayout>
    </RelativeLayout>

</ScrollView>
<commit_msg>Fix position map view and header on route detail.  Now scroll view does not got in way of scrolling.<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"
    android:padding="0dp"
    tools:context="uk.gov.eastlothian.gowalk.ui.RouteDetailActivity.RouteDetailFragment">

    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <!--
        <View
            android:id="@+id/route_detail_background_rect"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="@drawable/rectangle"/>
        -->

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:id="@+id/route_detail_linear_layout"
            android:orientation="vertical">

            <LinearLayout
                android:orientation="horizontal"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="16dp"
                android:id="@+id/route_detail_header">

                <RelativeLayout
                    android:layout_width="64dp"
                    android:layout_height="64dp">

                    <View
                        android:id="@+id/route_detail_circle"
                        android:layout_width="54dp"
                        android:layout_height="54dp"
                        android:layout_centerInParent="true"
                        android:background="@drawable/big_circle"/>

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="123"
                        android:id="@+id/route_detail_route_num"
                        android:textColor="@android:color/white" />

                </RelativeLayout>

                <LinearLayout
                    android:orientation="vertical"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/activity_horizontal_margin">

                    <TextView
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:textSize="16dip"
                        android:paddingBottom="5dp"
                        android:id="@+id/route_detail_description"
                        android:text="Description of the route"
                        android:textColor="@android:color/white" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textAppearance="?android:attr/textAppearanceSmall"
                        android:text="Description of the area"
                        android:id="@+id/route_detail_area_description"
                        android:textStyle="italic"
                        android:textColor="@android:color/white" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:paddingBottom="@dimen/activity_vertical_margin_small"
                        android:textAppearance="?android:attr/textAppearanceSmall"
                        android:textStyle="italic"
                        android:text="1658m"
                        android:id="@+id/route_detail_length"
                        android:textColor="@android:color/white" />

                </LinearLayout>

            </LinearLayout>

            <fragment
                android:id="@+id/route_detail_mapview"
                android:layout_width="match_parent"
                android:layout_height="200dp"
                class="com.google.android.gms.maps.SupportMapFragment" />

            <ScrollView
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

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

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingTop="@dimen/activity_vertical_margin"
                    android:textAppearance="?android:attr/textAppearanceMedium"
                    android:text="@string/route_detail_surface_label"
                    android:textStyle="bold"
                    android:id="@+id/route_detail_accessibility_label"
                    android:layout_gravity="center_horizontal" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textAppearance="?android:attr/textAppearanceMedium"
                    android:text="Surface"
                    android:id="@+id/route_detail_surface_text"
                    android:layout_gravity="center_horizontal" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textAppearance="?android:attr/textAppearanceMedium"
                    android:paddingTop="@dimen/activity_vertical_margin"
                    android:textStyle="bold"
                    android:text=""
                    android:id="@+id/route_detail_wildlife_label"
                    android:layout_gravity="center_horizontal"
                    android:textAlignment="center" />

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:orientation="vertical"
                    android:id="@+id/route_detail_wildlife_insert_point"
                    android:gravity="center"> </LinearLayout>

                </LinearLayout>

            </ScrollView>

        </LinearLayout>

    </RelativeLayout>

</LinearLayout>

{'fraction_non_alphanumeric': 0.09066922523386903, 'fraction_numerical': 0.003837850803550012, 'mean_word_length': 1.6910499139414803, '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': '2361179', 'n_tokens_mistral': 3087, 'n_tokens_neox': 2710, 'n_words': 273}