<commit_before><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" >

    <!-- FakeScrollView is a hack to avoid problems to know the real height of the views -->

    <com.inqbarna.tablefixheaders.FakeScrollView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/scroll"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fadingEdgeLength="0dip"
        android:scrollbars="none" >

        <TableLayout
            android:id="@+id/root"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:stretchColumns="1" >

            <TableRow>

                <LinearLayout
                    android:id="@+id/header_text"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:orientation="horizontal" />

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

                    <LinearLayout
                        android:id="@+id/header_row"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:gravity="top|left"
                        android:orientation="horizontal" />

                    <View
                        android:id="@+id/shadow_left_1"
                        android:layout_width="@dimen/shadow_size"
                        android:layout_height="match_parent"
                        android:layout_gravity="left"
                        android:background="@drawable/shadow_left"
                        android:visibility="gone" />
                </FrameLayout>
            </TableRow>

            <TableRow>

                <FrameLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" >

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

                    <LinearLayout
                        android:id="@+id/shadow_top_1"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/shadow_size"
                        android:layout_gravity="top"
                        android:background="@drawable/shadow_top"
                        android:visibility="gone" />
                </FrameLayout>

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

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

                    <View
                        android:id="@+id/shadow_left_2"
                        android:layout_width="@dimen/shadow_size"
                        android:layout_height="match_parent"
                        android:layout_gravity="left"
                        android:background="@drawable/shadow_left"
                        android:visibility="gone" />

                    <View
                        android:id="@+id/shadow_top_2"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/shadow_size"
                        android:layout_gravity="top"
                        android:background="@drawable/shadow_top"
                        android:visibility="gone" />
                </FrameLayout>
            </TableRow>
        </TableLayout>
    </com.inqbarna.tablefixheaders.FakeScrollView>

    <View
        android:id="@+id/shadow_bottom"
        android:layout_width="match_parent"
        android:layout_height="@dimen/shadow_size"
        android:layout_alignParentBottom="true"
        android:layout_alignRight="@id/scroll"
        android:background="@drawable/shadow_bottom"
        android:visibility="gone" />

    <View
        android:id="@+id/shadow_right"
        android:layout_width="@dimen/shadow_size"
        android:layout_height="match_parent"
        android:layout_alignBottom="@id/scroll"
        android:layout_alignParentRight="true"
        android:background="@drawable/shadow_right"
        android:visibility="gone" />

</RelativeLayout><commit_msg>Fix Bug with shadows in some devices.<commit_after><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" >

    <!-- FakeScrollView is a hack to avoid problems to know the real height of the views -->

    <com.inqbarna.tablefixheaders.FakeScrollView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/scroll"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fadingEdgeLength="0dip"
        android:scrollbars="none" >

        <TableLayout
            android:id="@+id/root"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:stretchColumns="1" >

            <TableRow>

                <LinearLayout
                    android:id="@+id/header_text"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:orientation="horizontal" />

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

                    <LinearLayout
                        android:id="@+id/header_row"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:gravity="top|left"
                        android:orientation="horizontal" />

                    <View
                        android:id="@+id/shadow_left_1"
                        android:layout_width="@dimen/shadow_size"
                        android:layout_height="match_parent"
                        android:layout_gravity="left"
                        android:background="@drawable/shadow_left"
                        android:visibility="gone" />
                </FrameLayout>
            </TableRow>

            <TableRow>

                <FrameLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" >

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

                    <LinearLayout
                        android:id="@+id/shadow_top_1"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/shadow_size"
                        android:layout_gravity="top"
                        android:background="@drawable/shadow_top"
                        android:visibility="gone" />
                </FrameLayout>

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

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

                    <View
                        android:id="@+id/shadow_left_2"
                        android:layout_width="@dimen/shadow_size"
                        android:layout_height="match_parent"
                        android:layout_alignBottom="@id/body"
                        android:layout_alignParentLeft="true"
                        android:layout_alignTop="@id/body"
                        android:background="@drawable/shadow_left"
                        android:visibility="gone" />

                    <View
                        android:id="@+id/shadow_top_2"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/shadow_size"
                        android:layout_alignParentTop="true"
                        android:background="@drawable/shadow_top"
                        android:visibility="gone" />
                </RelativeLayout>
            </TableRow>
        </TableLayout>
    </com.inqbarna.tablefixheaders.FakeScrollView>

    <View
        android:id="@+id/shadow_bottom"
        android:layout_width="match_parent"
        android:layout_height="@dimen/shadow_size"
        android:layout_alignParentBottom="true"
        android:layout_alignRight="@id/scroll"
        android:background="@drawable/shadow_bottom"
        android:visibility="gone" />

    <View
        android:id="@+id/shadow_right"
        android:layout_width="@dimen/shadow_size"
        android:layout_height="match_parent"
        android:layout_alignBottom="@id/scroll"
        android:layout_alignParentRight="true"
        android:background="@drawable/shadow_right"
        android:visibility="gone" />

</RelativeLayout>
{'fraction_non_alphanumeric': 0.09773672992997057, 'fraction_numerical': 0.001826854765046179, 'mean_word_length': 1.6013727560718056, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 2, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4138540', 'n_tokens_mistral': 2514, 'n_tokens_neox': 2189, 'n_words': 243}