2020-05-17 12:40:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<merge android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxHeight="500.0dip" app:cardBackgroundColor="@color/transparent" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.google.android.exoplayer2.ui.PlayerView android:layout_gravity="center" android:id="@id/inline_media_player_view" android:layout_width="fill_parent" android:layout_height="fill_parent" app:resize_mode="fit" app:surface_type="texture_view" app:use_controller="false" />
|
2020-08-04 06:02:43 +00:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/inline_media_image_preview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:contentDescription="@string/image" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?colorBackgroundPrimary" style="@style/UiKit.ImageView" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<ImageView android:layout_gravity="center" android:id="@id/inline_media_play_button" android:background="@drawable/drawable_circle_primary_900" android:padding="8.0dip" android:visibility="gone" android:layout_width="@dimen/embed_play_button_width" android:layout_height="@dimen/embed_play_button_width" android:src="@drawable/ic_play_arrow_24dp" android:scaleType="fitXY" android:contentDescription="@string/play_full_video" android:alpha="0.6" app:tint="@color/white" />
|
|
|
|
<ProgressBar android:layout_gravity="center" android:id="@id/inline_media_loading_indicator" android:background="@drawable/drawable_circle_primary_900" android:padding="8.0dip" android:layout_width="@dimen/embed_play_button_width" android:layout_height="@dimen/embed_play_button_width" android:indeterminate="true" android:layout_centerInParent="true" android:alpha="0.6" android:indeterminateTint="@color/white" />
|
|
|
|
<ImageView android:layout_gravity="start|bottom|center" android:id="@id/inline_media_volume_toggle" android:background="@drawable/drawable_circle_primary_900" android:padding="8.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginBottom="8.0dip" android:src="@drawable/ic_volume_up_white_24dp" android:alpha="0.6" android:layout_marginStart="8.0dip" app:tint="@color/white" />
|
2020-05-17 12:40:10 +00:00
|
|
|
</merge>
|