<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- Note: clipChildren/clipToPadding false are needed to apply shadows to child
     views with no padding of their own. -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:clipChildren="false"
    android:clipToPadding="false"
    android:paddingStart="@dimen/lb_playback_controls_margin_start"
    android:paddingEnd="@dimen/lb_playback_controls_margin_end" >

    <LinearLayout
        android:id="@+id/controls_card"
        android:layout_width="match_parent"
        android:layout_height="@dimen/lb_playback_controls_card_height"
        android:layout_marginBottom="@dimen/lb_playback_controls_margin_bottom"
        android:clipChildren="false"
        android:clipToPadding="false"
        android:orientation="horizontal" >

        <ImageView
            android:id="@+id/image"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:adjustViewBounds="true"
            android:scaleType="fitStart" />

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

            <FrameLayout
                android:id="@+id/description_dock"
                android:layout_width="wrap_content"
                android:layout_height="0dp"
                android:layout_marginEnd="@dimen/lb_playback_description_margin_end"
                android:layout_marginStart="@dimen/lb_playback_description_margin_start"
                android:layout_marginTop="@dimen/lb_playback_description_margin_top"
                android:layout_weight="1"
                android:gravity="top" />

            <!-- Space here prevents room only for title and subtitle above -->

            <Space
                android:id="@+id/spacer"
                android:layout_width="match_parent"
                android:layout_height="12dp" />

            <FrameLayout
                android:id="@+id/controls_dock"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:minHeight="@dimen/lb_control_button_height"
                android:layout_marginEnd="@dimen/lb_playback_description_margin_end"
                android:layout_marginStart="@dimen/lb_playback_description_margin_start" />
        </LinearLayout>
    </LinearLayout>

    <FrameLayout
        android:id="@+id/secondary_controls_dock"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal" />

    <Space
        android:id="@+id/bottom_spacer"
        android:layout_width="match_parent"<commit_msg>am cd67a594: am 9b444bda: Merge "Fix title top cut in playback controls." into lmp-mr1-dev<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- Note: clipChildren/clipToPadding false are needed to apply shadows to child
     views with no padding of their own. Also to allow for negative marge on description. -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:clipChildren="false"
    android:clipToPadding="false"
    android:paddingStart="@dimen/lb_playback_controls_margin_start"
    android:paddingEnd="@dimen/lb_playback_controls_margin_end" >

    <LinearLayout
        android:id="@+id/controls_card"
        android:layout_width="match_parent"
        android:layout_height="@dimen/lb_playback_controls_card_height"
        android:layout_marginBottom="@dimen/lb_playback_controls_margin_bottom"
        android:clipChildren="false"
        android:clipToPadding="false"
        android:orientation="horizontal" >

        <ImageView
            android:id="@+id/image"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:adjustViewBounds="true"
            android:scaleType="fitStart" />

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

            <FrameLayout
                android:id="@+id/description_dock"
                android:layout_width="wrap_content"
                android:layout_height="0dp"
                android:layout_marginEnd="@dimen/lb_playback_description_margin_end"
                android:layout_marginStart="@dimen/lb_playback_description_margin_start"
                android:paddingTop="@dimen/lb_playback_description_margin_top"
                android:clipToPadding="false"
                android:clipChildren="false"
                android:layout_weight="1"
                android:gravity="top" />

            <!-- Space here prevents room only for title and subtitle above -->

            <Space
                android:id="@+id/spacer"
                android:layout_width="match_parent"
                android:layout_height="12dp" />

            <FrameLayout
                android:id="@+id/controls_dock"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:minHeight="@dimen/lb_control_button_height"
                android:layout_marginEnd="@dimen/lb_playback_description_margin_end"
                android:layout_marginStart="@dimen/lb_playback_description_margin_start" />
        </LinearLayout>
    </LinearLayout>

    <FrameLayout
        android:id="@+id/secondary_controls_dock"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal" />

    <Space
        android:id="@+id/bottom_spacer"
        android:layout_width="match_parent"
{'fraction_non_alphanumeric': 0.09197256958450989, 'fraction_numerical': 0.005378512841199408, 'mean_word_length': 2.861889927310488, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 2, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5558565', 'n_tokens_mistral': 2034, 'n_tokens_neox': 1858, 'n_words': 372}