liugl
2021-01-14 40f9ac00ec5e4d6363450d1c8e0b0937cc0b1de4
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginStart="4dp"
    android:layout_marginEnd="4dp"
    android:layout_marginBottom="10dp"
    android:paddingTop="9dp">
 
 
    <RelativeLayout
        android:id="@+id/rl_back"
        android:layout_width="match_parent"
        android:layout_height="161dp"
        android:elevation="5dp"
        android:layout_marginStart="10dp"
        android:layout_marginEnd="10dp"
        android:layout_marginBottom="10dp"
        android:background="@color/main_green"
        android:layout_marginTop="20dp">
 
        <TextView
            android:id="@+id/tv_start"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="13dp"
            android:layout_marginTop="40dp"
            android:text="今日累计在线3小时奖励20元;"
            android:textColor="@color/write"
            android:textSize="40sp" />
 
        <TextView
            android:id="@+id/tv_over"
            android:layout_toRightOf="@+id/tv_start"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="13dp"
            android:layout_marginTop="40dp"
            android:text="2/3"
            android:textColor="@color/yellow_ffa72d"
            android:textSize="40sp" />
 
    </RelativeLayout>
 
    <TextView
        android:id="@+id/tv_content"
        android:layout_width="194dp"
        android:elevation="5dp"
        android:layout_height="60dp"
        android:layout_centerHorizontal="true"
        android:background="@drawable/bg_event_btn_one"
        android:gravity="center"
        android:text="活动一"
        android:textColor="#ffffffff"
        android:textSize="42sp" />
 
 
</RelativeLayout>