<?xml version="1.0" encoding="utf-8"?>
<merge
  xmlns:android="http://schemas.android.com/apk/res/android" xmlns:yt="http://schemas.android.com/apk/res-auto">
    <ImageView android:layout_gravity="center" android:id="@id/thumb_image_view" android:background="@color/gallery_thumb_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" android:contentDescription="@null" />
    <ImageView android:layout_gravity="center" android:id="@id/thumb_image_view_placeholder" android:background="@drawable/ic_gallery_thumbnail_default" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@null" android:alpha="0.15" />
    <ImageView android:layout_gravity="bottom|center" android:id="@id/thumb_image_view_scrim" android:layout_width="fill_parent" android:layout_height="@dimen/gallery_thumb_scrim_height" android:contentDescription="@null" />
    <com.google.android.libraries.youtube.common.ui.YouTubeTextView android:textSize="@dimen/gallery_thumb_duration_font_size" android:textStyle="bold" android:textColor="@color/gallery_thumb_duration_font_color" android:layout_gravity="end|bottom|center" android:id="@id/duration_text_view" android:background="@drawable/thumbnail_background_duration" android:paddingLeft="@dimen/gallery_thumb_duration_with_background_padding_left_right" android:paddingTop="@dimen/gallery_thumb_duration_with_background_padding_top" android:paddingRight="@dimen/gallery_thumb_duration_with_background_padding_left_right" android:paddingBottom="@dimen/gallery_thumb_duration_with_background_padding_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/gallery_thumb_duration_margin_bottom" android:contentDescription="@null" android:layout_marginEnd="@dimen/gallery_thumb_duration_margin_right" yt:robotoFont="regular" />
    <FrameLayout android:id="@id/loading_spinner_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <View android:id="@id/loading_scrim" android:background="?ytOverlayBackgroundMedium" android:layout_width="fill_parent" android:layout_height="fill_parent" />
        <ProgressBar android:layout_gravity="center" android:id="@id/loading_spinner" android:layout_width="24.0dip" android:layout_height="24.0dip" android:indeterminate="true" android:indeterminateTint="?ytOverlayTextPrimary" style="?android:progressBarStyle" />
    </FrameLayout>
</merge>
