Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • liveModule
  • src
  • main
  • res
  • layout
  • layout_progress_bar.xml
Find file
BlameHistoryPermalink
  • mReturn's avatar
    接入直播 · b8338b29
    mReturn committed 4 years ago
    b8338b29
layout_progress_bar.xml 3.04 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:ignore="contentDescription"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="20dp"
    android:orientation="horizontal">

    <ImageView
        android:id="@+id/play_btn"
        android:layout_width="@dimen/live_btn_size"
        android:layout_height="@dimen/live_btn_size"
        android:background="@drawable/play_pause"
        android:onClick="onClick"
        android:layout_marginBottom="15dp"
        android:layout_marginLeft="10dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />

    <ImageView
        android:id="@+id/btn_vod_share"
        android:layout_width="@dimen/live_btn_size"
        android:layout_height="@dimen/live_btn_size"
        android:background="@drawable/icon_share"
        android:layout_marginBottom="10dp"
        android:layout_alignParentBottom="true"
        android:layout_toLeftOf="@+id/btn_vod_log"
        android:onClick="onClick"
        android:visibility="gone"/>
    <ImageView
        android:id="@+id/btn_vod_log"
        android:layout_width="@dimen/live_btn_size"
        android:layout_height="@dimen/live_btn_size"
        android:layout_marginLeft="20dp"
        android:layout_toLeftOf="@+id/btn_vod_back"
        android:layout_alignParentBottom="true"
        android:background="@drawable/icon_log_off"
        android:onClick="onClick"
        />
    <ImageView
        android:id="@+id/btn_vod_back"
        android:layout_width="@dimen/live_btn_size"
        android:layout_height="@dimen/live_btn_size"
        android:background="@drawable/btn_close"
        android:onClick="onClick"
        android:layout_marginRight="15dp"
        android:layout_marginBottom="10dp"
        android:layout_marginLeft="20dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true" />

    <TextView
        android:id="@+id/progress_time"
        android:layout_alignParentBottom="true"
        android:layout_toRightOf="@id/play_btn"
        android:text="00:00/00:00"
        android:layout_marginLeft="10dp"
        android:layout_marginBottom="20dp"
        android:textColor="@color/c8"
        android:textSize="@dimen/h6"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

    <SeekBar
        android:id="@+id/seekbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:max="110"
        android:progress="0"
        android:paddingLeft="15dp"
        android:paddingRight="15dp"
        android:layout_gravity="center|right"
        android:maxHeight="1.0dip"
        android:minHeight="1.0dip"
        android:layout_above="@id/play_btn"
        android:progressDrawable="@drawable/play_seekbar_progress"
        android:thumb="@drawable/play_seekbar_icon"/>

</RelativeLayout>