85 lines
2.9 KiB
XML
85 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<FrameLayout
|
|
android:id="@id/liveTextureHolder"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false">
|
|
|
|
<com.vk.media.player.video.view.VideoTextureView
|
|
android:id="@id/liveTexture"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
|
|
<com.vk.media.player.video.view.PreviewImageView
|
|
android:id="@id/liveViewBack"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
</FrameLayout>
|
|
|
|
<View
|
|
android:id="@id/liveViewFadeUp"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="64.0dip"
|
|
android:layout_gravity="top"
|
|
android:alpha="0.5"
|
|
android:background="@drawable/scrim_top" />
|
|
|
|
<View
|
|
android:id="@id/liveViewFadeBottom"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1000.0dip"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginBottom="-936.0dip"
|
|
android:alpha="1.0"
|
|
android:background="@drawable/bg_live_fade_bottom" />
|
|
|
|
<FrameLayout
|
|
android:id="@id/liveViewMainHolder"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
|
|
<com.vk.libvideo.live.views.error.ErrorView
|
|
android:id="@id/liveViewError"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="@color/live_error_background"
|
|
android:visibility="gone" />
|
|
|
|
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
|
android:id="@id/liveViewProgress"
|
|
android:layout_width="40.0dip"
|
|
android:layout_height="40.0dip"
|
|
android:layout_gravity="center"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
app:mpb_indeterminateTint="@color/white"
|
|
app:mpb_progressStyle="circular" />
|
|
|
|
<com.vk.libvideo.ui.VideoRestrictionView
|
|
android:id="@id/liveRestriction"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:visibility="gone"
|
|
app:vrv_mode="dark"
|
|
app:vrv_size="medium" />
|
|
|
|
<LinearLayout
|
|
android:id="@id/liveViewTopHolder"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="56.0dip"
|
|
android:alpha="1.0"
|
|
android:gravity="center|right">
|
|
|
|
<ImageButton
|
|
android:id="@id/liveViewClose"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_weight="0.0"
|
|
android:background="@drawable/vkim_ripple_light_borderless"
|
|
android:src="@drawable/ic_live_close" />
|
|
</LinearLayout>
|
|
</merge> |