admin
2020-08-12 cefe2a41db4a275fb1e940a902cb156f1ed68d80
BuWanVideo/res/layout/video_detail_activity.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
@@ -10,131 +10,138 @@
        android:layout_height="15dp"
        android:background="@color/top_bar_color" />
    <FrameLayout
        android:id="@+id/fragment_video_play_container1"
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/v_status_bar"
        android:background="@color/bg_download_so">
        android:layout_height="0dp"
        android:layout_weight="1">
        <FrameLayout
            android:id="@+id/fragment_video_play_container"
            android:id="@+id/fragment_video_play_container1"
            android:layout_width="match_parent"
            android:layout_height="match_parent"></FrameLayout>
        <FrameLayout
            android:id="@+id/fl_video_play_background"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <ImageView
                android:id="@+id/iv_video_play_background"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop" />
            <ImageView
                android:id="@+id/iv_play_loading"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:scaleType="centerCrop"
                android:src="@drawable/ic_gif_loading"
                android:visibility="gone" />
            <TextView
                android:id="@+id/iv_back"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="15dp"
                android:layout_marginTop="15dp"
                android:drawableLeft="@drawable/ic_back_two"
                android:drawablePadding="5dp"
                android:gravity="center"
                android:src="@drawable/ic_back_two"
                android:textColor="@color/white" />
            android:layout_height="wrap_content"
            android:layout_below="@id/v_status_bar"
            android:background="@color/bg_download_so">
            <FrameLayout
                android:id="@+id/fl_banner"
                android:id="@+id/fragment_video_play_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom"
                android:background="@color/white"></FrameLayout>
                android:layout_height="match_parent"></FrameLayout>
            <LinearLayout
                android:id="@+id/ll_download_so"
            <FrameLayout
                android:id="@+id/fl_video_play_background"
                android:layout_width="match_parent"
                android:layout_height="match_parent">
                <ImageView
                    android:id="@+id/iv_video_play_background"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:scaleType="centerCrop" />
                <ImageView
                    android:id="@+id/iv_play_loading"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:scaleType="centerCrop"
                    android:src="@drawable/ic_gif_loading"
                    android:visibility="gone" />
                <TextView
                    android:id="@+id/iv_back"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="15dp"
                    android:layout_marginTop="15dp"
                    android:drawableLeft="@drawable/ic_back_two"
                    android:drawablePadding="5dp"
                    android:gravity="center"
                    android:src="@drawable/ic_back_two"
                    android:textColor="@color/white" />
                <FrameLayout
                    android:id="@+id/fl_banner"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="bottom"
                    android:background="@color/white"></FrameLayout>
                <LinearLayout
                    android:id="@+id/ll_download_so"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:gravity="center"
                    android:orientation="vertical"
                    android:visibility="gone">
                    <TextView
                        android:id="@+id/textView4"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:drawableLeft="@drawable/ic_download_so"
                        android:drawablePadding="5dp"
                        android:gravity="center"
                        android:paddingLeft="25dp"
                        android:paddingRight="25dp"
                        android:text="正在下载播放插件"
                        android:textColor="@color/white" />
                    <SeekBar
                        android:id="@+id/seekbar_load_so"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:progressDrawable="@drawable/progress_drawable2"
                        android:thumb="@null" />
                    <TextView
                        android:id="@+id/tv_progrerss"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:layout_marginLeft="15dp"
                        android:text="9%"
                        android:textColor="@color/white" />
                </LinearLayout>
            </FrameLayout>
        </FrameLayout>
        <FrameLayout
            android:id="@+id/fl_video_detail"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/fragment_video_play_container1">
            <FrameLayout
                android:id="@+id/fragment_video_detail_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent"></FrameLayout>
            <FrameLayout
                android:id="@+id/fragment_video_episode_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent"></FrameLayout>
            <ImageView
                android:id="@+id/iv_download_failure"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:gravity="center"
                android:orientation="vertical"
                android:visibility="gone">
                <TextView
                    android:id="@+id/textView4"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:drawableLeft="@drawable/ic_download_so"
                    android:drawablePadding="5dp"
                    android:gravity="center"
                    android:paddingLeft="25dp"
                    android:paddingRight="25dp"
                    android:text="正在下载播放插件"
                    android:textColor="@color/white" />
                <SeekBar
                    android:id="@+id/seekbar_load_so"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:progressDrawable="@drawable/progress_drawable2"
                    android:thumb="@null" />
                <TextView
                    android:id="@+id/tv_progrerss"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:layout_marginLeft="15dp"
                    android:text="9%"
                    android:textColor="@color/white" />
            </LinearLayout>
                android:layout_marginTop="30dp"
                android:src="@drawable/download_failure"
                android:visibility="gone" />
        </FrameLayout>
    </FrameLayout>
    <FrameLayout
        android:id="@+id/fl_video_detail"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/fragment_video_play_container1">
        <FrameLayout
            android:id="@+id/fragment_video_detail_container"
            android:layout_width="match_parent"
            android:layout_height="match_parent"></FrameLayout>
        <FrameLayout
            android:id="@+id/fragment_video_episode_container"
            android:layout_width="match_parent"
            android:layout_height="match_parent"></FrameLayout>
        <ImageView
            android:id="@+id/iv_download_failure"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="30dp"
            android:src="@drawable/download_failure"
            android:visibility="gone" />
    </FrameLayout>
            android:id="@+id/iv_select_play"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_alignParentRight="true"
            android:src="@drawable/ic_select_play" />
    <ImageView
        android:id="@+id/iv_select_play"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_alignParentRight="true"
        android:src="@drawable/ic_select_play" />
</RelativeLayout>
    </RelativeLayout>
</LinearLayout>