<commit_before><?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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">

    <ImageView
        android:id="@+id/imageViewMoviePoster"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop"
        tools:ignore="ContentDescription" />

    <ProgressBar
        android:id="@+id/progressBar"
        style="?android:attr/progressBarStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center" />

    <ScrollView
        android:id="@+id/contentContainerMovie"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingTop="?actionBarSize">

        <RelativeLayout
            style="@style/DefaultPadding.Page"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:animateLayoutChanges="true">

            <TextView
                android:id="@+id/textViewMovieTitle"
                style="@style/DefaultPadding.Blocks"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:textAppearance="@style/TextAppearance.Large.Light"
                android:textIsSelectable="true"
                android:textSize="@dimen/text_size_ultralarge"
                tools:text="Awesome Movie Title" />

            <TextView
                android:id="@+id/textViewMovieDate"
                style="@style/DefaultPadding.Blocks"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/textViewMovieTitle"
                android:layout_marginBottom="@dimen/large_padding"
                android:ellipsize="end"
                android:maxLines="1"
                android:textAppearance="@style/TextAppearance.Small"
                android:textIsSelectable="true"
                tools:text="20 Oct 2013" />

            <LinearLayout
                android:id="@+id/containerMovieButtons"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?attr/colorBackgroundDim"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/textViewMovieDate"
                android:layout_marginBottom="@dimen/large_padding"
                android:orientation="horizontal">

                <ImageButton
                    android:id="@+id/buttonMovieCheckIn"
                    style="@style/Widget.SeriesGuide.Button.Borderless.Small"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/checkin"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableCheckin" />

                <ImageButton
                    android:id="@+id/buttonMovieWatched"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/togglewatched"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableWatch" />

                <ImageButton
                    android:id="@+id/buttonMovieWatchlisted"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/watchlist_add"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableList" />

                <ImageButton
                    android:id="@+id/buttonMovieCollected"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/action_collection_add"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableCollect" />
            </LinearLayout>

            <include
                layout="@layout/ratingbar"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/containerMovieButtons" />

            <TextView
                android:id="@+id/textViewMovieDescription"
                style="@style/DefaultPadding.Blocks.WithBottomMargin.FlowText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/ratingbar"
                android:layout_marginTop="@dimen/large_padding"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="Description for a super awesome movie..." />

            <TextView
                android:id="@+id/labelCast"
                style="@style/DefaultPadding.Blocks.WithTopMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textViewMovieDescription"
                android:text="@string/movie_cast"
                android:textAppearance="@style/TextAppearance.Small.Label" />

            <TextView
                android:id="@+id/textViewMovieCast"
                style="@style/DefaultPadding.Blocks.WithBottomMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/labelCast"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="<NAME> (The Narrator)\<NAME> (<NAME>)" />

            <TextView
                android:id="@+id/labelCrew"
                style="@style/DefaultPadding.Blocks.WithTopMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textViewMovieCast"
                android:text="@string/movie_crew"
                android:textAppearance="@style/TextAppearance.Small.Label" />

            <TextView
                android:id="@+id/textViewMovieCrew"
                style="@style/DefaultPadding.Blocks.WithBottomMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/labelCrew"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="<NAME> (Author)\n<NAME> (Producer)" />

            <include
                android:id="@+id/dividerHorizontalMovieDetails"
                layout="@layout/divider_horizontal"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignLeft="@+id/textViewMovieDescription"
                android:layout_alignRight="@+id/textViewMovieDescription"
                android:layout_below="@+id/textViewMovieCrew" />

            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/dividerHorizontalMovieDetails"
                android:baselineAligned="false"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <Button
                    android:id="@+id/buttonMovieComments"
                    style="@style/Widget.SeriesGuide.Button.Borderless.Small"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:text="@string/comments"
                    android:textAllCaps="true" />
            </LinearLayout>
        </RelativeLayout>
    </ScrollView>

</FrameLayout><commit_msg>Fix ratings margin for movie details.<commit_after><?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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">

    <ImageView
        android:id="@+id/imageViewMoviePoster"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop"
        tools:ignore="ContentDescription" />

    <ProgressBar
        android:id="@+id/progressBar"
        style="?android:attr/progressBarStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center" />

    <ScrollView
        android:id="@+id/contentContainerMovie"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingTop="?actionBarSize">

        <RelativeLayout
            style="@style/DefaultPadding.Page"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:animateLayoutChanges="true">

            <TextView
                android:id="@+id/textViewMovieTitle"
                style="@style/DefaultPadding.Blocks"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:textAppearance="@style/TextAppearance.Large.Light"
                android:textIsSelectable="true"
                android:textSize="@dimen/text_size_ultralarge"
                tools:text="Awesome Movie Title" />

            <TextView
                android:id="@+id/textViewMovieDate"
                style="@style/DefaultPadding.Blocks"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/textViewMovieTitle"
                android:layout_marginBottom="@dimen/large_padding"
                android:ellipsize="end"
                android:maxLines="1"
                android:textAppearance="@style/TextAppearance.Small"
                android:textIsSelectable="true"
                tools:text="20 Oct 2013" />

            <LinearLayout
                android:id="@+id/containerMovieButtons"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?attr/colorBackgroundDim"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/textViewMovieDate"
                android:layout_marginBottom="@dimen/large_padding"
                android:orientation="horizontal">

                <ImageButton
                    android:id="@+id/buttonMovieCheckIn"
                    style="@style/Widget.SeriesGuide.Button.Borderless.Small"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/checkin"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableCheckin" />

                <ImageButton
                    android:id="@+id/buttonMovieWatched"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/togglewatched"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableWatch" />

                <ImageButton
                    android:id="@+id/buttonMovieWatchlisted"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/watchlist_add"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableList" />

                <ImageButton
                    android:id="@+id/buttonMovieCollected"
                    style="@style/Widget.SeriesGuide.Button.Borderless"
                    android:layout_width="@dimen/buttonbar_button_width"
                    android:layout_height="match_parent"
                    android:contentDescription="@string/action_collection_add"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:src="?attr/drawableCollect" />
            </LinearLayout>

            <include
                layout="@layout/ratingbar"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/default_padding"
                android:layout_marginRight="@dimen/default_padding"
                android:layout_marginBottom="@dimen/large_padding"
                android:layout_below="@+id/containerMovieButtons" />

            <TextView
                android:id="@+id/textViewMovieDescription"
                style="@style/DefaultPadding.Blocks.WithBottomMargin.FlowText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/ratingbar"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="Description for a super awesome movie..." />

            <TextView
                android:id="@+id/labelCast"
                style="@style/DefaultPadding.Blocks.WithTopMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textViewMovieDescription"
                android:text="@string/movie_cast"
                android:textAppearance="@style/TextAppearance.Small.Label" />

            <TextView
                android:id="@+id/textViewMovieCast"
                style="@style/DefaultPadding.Blocks.WithBottomMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/labelCast"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="<NAME> (The Narrator)\<NAME> (<NAME>)" />

            <TextView
                android:id="@+id/labelCrew"
                style="@style/DefaultPadding.Blocks.WithTopMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/textViewMovieCast"
                android:text="@string/movie_crew"
                android:textAppearance="@style/TextAppearance.Small.Label" />

            <TextView
                android:id="@+id/textViewMovieCrew"
                style="@style/DefaultPadding.Blocks.WithBottomMargin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/labelCrew"
                android:maxWidth="400dp"
                android:textAppearance="@style/TextAppearance.Light"
                android:textIsSelectable="true"
                tools:text="<NAME> (Author)\n<NAME> (Producer)" />

            <include
                android:id="@+id/dividerHorizontalMovieDetails"
                layout="@layout/divider_horizontal"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignLeft="@+id/textViewMovieDescription"
                android:layout_alignRight="@+id/textViewMovieDescription"
                android:layout_below="@+id/textViewMovieCrew" />

            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_alignParentLeft="true"
                android:layout_below="@+id/dividerHorizontalMovieDetails"
                android:baselineAligned="false"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <Button
                    android:id="@+id/buttonMovieComments"
                    style="@style/Widget.SeriesGuide.Button.Borderless.Small"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingLeft="@dimen/default_padding"
                    android:paddingRight="@dimen/default_padding"
                    android:text="@string/comments"
                    android:textAllCaps="true" />
            </LinearLayout>
        </RelativeLayout>
    </ScrollView>

</FrameLayout>
{'fraction_non_alphanumeric': 0.10135628586332812, 'fraction_numerical': 0.002190923317683881, 'mean_word_length': 2.0464007627522642, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, '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': '6886433', 'n_tokens_mistral': 5071, 'n_tokens_neox': 4394, 'n_words': 402}