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
  • learnCenter
  • src
  • main
  • res
  • layout
  • item_live_play_back.xml
Find file
Normal viewHistoryPermalink
item_live_play_back.xml 4.06 KB
Newer Older
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_13.3"
        android:layout_marginTop="5dp"
        android:layout_marginRight="@dimen/dp_13.3"
        android:background="@drawable/item_shape"
        android:orientation="vertical">

        <RelativeLayout
            android:id="@+id/rl_video"
            android:layout_width="match_parent"
            android:layout_height="180dp">

mReturn's avatar
直播调试
f88e6950
 
mReturn committed 4 years ago
20 21 22
            <ImageView
                android:id="@+id/iv_cover"
                android:scaleType="centerCrop"
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
23
                android:layout_width="match_parent"
mReturn's avatar
直播调试
f88e6950
 
mReturn committed 4 years ago
24 25 26
                android:layout_height="match_parent"
                android:background="@color/black"
                />
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
27 28 29 30 31 32 33

            <RelativeLayout
                android:id="@+id/rl_cover"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/transparent">

mReturn's avatar
直播调试
f88e6950
 
mReturn committed 4 years ago
34 35 36 37 38 39
                <ImageView
                    android:layout_width="45dp"
                    android:layout_height="45dp"
                    android:src="@drawable/jz_play_normal"
                    android:layout_centerInParent="true"
                    />
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98

                <TextView
                    android:id="@+id/tv_disable"
                    style="@style/common_text_style"
                    android:layout_width="100dp"
                    android:layout_alignParentRight="true"
                    android:height="36dp"
                    android:background="@drawable/bg_live_gray_react"
                    android:gravity="center"
                    android:layout_margin="5dp"
                    android:text="回放视频"
                    android:textColor="@color/white" />

            </RelativeLayout>
        </RelativeLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/tv_title"
                style="@style/common_text_style"
                android:layout_width="0dp"
                android:layout_marginLeft="5dp"
                android:layout_weight="1"
                android:maxLines="2"
                android:text="标题" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:src="@drawable/icon_looks" />

            <TextView
                android:id="@+id/tv_looks"
                style="@style/common_text_style"
                android:layout_marginLeft="5dp"
                android:text="0" />

            <ImageView
                android:id="@+id/iv_like"
                android:layout_width="18dp"
                android:layout_height="18dp"
                android:layout_marginLeft="10dp"
                android:src="@drawable/icon_like_gray" />

            <TextView
                android:id="@+id/tv_like"
                style="@style/common_text_style"
                android:layout_marginLeft="5dp"
                android:layout_marginRight="10dp"
                android:text="0" />

            <ImageButton
                android:id="@+id/ib_share"
mReturn's avatar
red packet
020e3ff9
 
mReturn committed 4 years ago
99
                android:layout_width="35dp"
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
100 101 102
                android:background="@color/transparent"
                android:layout_height="match_parent"
                android:src="@drawable/icon_share_gray" />
mReturn's avatar
red packet
020e3ff9
 
mReturn committed 4 years ago
103 104 105 106 107 108 109
            <TextView
                android:id="@+id/tv_shares"
                style="@style/common_text_style"
                android:layout_height="match_parent"
                android:gravity="center_vertical"
                android:paddingRight="10dp"
                android:text="0" />
mReturn's avatar
接入直播
b8338b29
 
mReturn committed 4 years ago
110 111 112 113 114
        </LinearLayout>

    </LinearLayout>

</layout>