14 lines
No EOL
1.7 KiB
XML
14 lines
No EOL
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<RelativeLayout style="@style/UiKit.ViewGroup.RelativeLayout.AppBarScrollingViewBehavior">
|
|
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<com.google.android.exoplayer2.ui.PlayerView android:layout_gravity="center" android:id="@id/widget_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="true" />
|
|
</FrameLayout>
|
|
<com.facebook.samples.zoomable.ZoomableDraweeView android:id="@id/media_image" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" app:failureImage="@drawable/asset_sadbot" app:failureImageScaleType="center" app:placeholderImage="@drawable/asset_image_loading" />
|
|
<ProgressBar android:id="@id/widget_media_loading_indicator" android:background="@drawable/drawable_circle_primary_900_alpha_60" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" android:layout_centerInParent="true" android:indeterminateTint="@color/white" />
|
|
</RelativeLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |