video_range_choose.xml 3.41 KB
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:background="#ffffff">

            <TextView
                android:id="@+id/video_range_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"

                android:layout_gravity="center"
                android:text="@string/video_range_title_1"
                android:textColor="#000000"
                android:textSize="20dp" />
        </FrameLayout>


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="0dp"
            android:layout_marginRight="0dp"
            android:layout_marginTop="35dp"
            android:orientation="vertical">

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginLeft="20dp"
                android:layout_marginRight="20dp"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/range_start"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="left"
                    android:textColor="#999999"
                    android:textSize="15dp" />

                <TextView
                    android:id="@+id/range"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:textColor="#999999"
                    android:textSize="20dp" />

                <TextView
                    android:id="@+id/range_end"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="right"
                    android:textColor="#999999"
                    android:textSize="15dp" />
            </FrameLayout>

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="114dp"
                android:layout_alignParentBottom="true">

                <com.cnlive.gundam.shortvideo.videorange.HorizontalListView
                    android:id="@+id/hlistview"
                    android:layout_width="match_parent"
                    android:layout_height="59dp"
                    android:requiresFadingEdge="horizontal" />

                <com.cnlive.gundam.shortvideo.videorange.VideoRangeSeekBar xmlns:custom="http://schemas.android.com/apk/res-auto"
                    android:id="@+id/seekbar"
                    android:layout_width="match_parent"
                    android:layout_height="110dp"
                    android:background="#00ffffff"
                    custom:gradientWidth="20dp"
                    custom:indicatorWidth="4dp"
                    custom:thumbBandHeight="59dp"
                    custom:thumbWidth="20dp" />
            </FrameLayout>
        </LinearLayout>

    </LinearLayout>
</layout>