admin
2021-02-03 1981dee5aec45793d3c4ebdbc4e637528c71b3c5
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/register_gray"
    android:orientation="vertical" >
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/top_bar_color"
        android:orientation="vertical" >
 
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="48dp" >
 
            <RadioGroup
                android:id="@+id/rg_recent"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:orientation="horizontal" >
 
                <RadioButton
                    android:id="@+id/rb_watch_history"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:background="@drawable/selector_switch_left_bg"
                    android:button="@null"
                    android:gravity="center"
                    android:paddingLeft="24dp"
                    android:paddingRight="24dp"
                    android:text="@string/watch_history"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/white" />
 
                <RadioButton
                    android:id="@+id/rb_offline_download"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:background="@drawable/selector_switch_right_bg"
                    android:button="@null"
                    android:gravity="center"
                    android:paddingLeft="24dp"
                    android:paddingRight="24dp"
                    android:text="@string/offline_cache_title"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/white" />
            </RadioGroup>
 
            <FrameLayout
                android:layout_width="48dp"
                android:layout_height="48dp"
                android:layout_alignParentEnd="true"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true" >
 
                <ToggleButton
                    android:id="@+id/btn_delete"
                    style="@style/TextBuleNormal"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:background="@drawable/selector_delete"
                    android:minHeight="0dp"
                    android:minWidth="0dp"
                    android:textOff=""
                    android:textOn="取消" />
            </FrameLayout>
        </RelativeLayout>
 
        <View
            android:layout_width="match_parent"
            android:layout_height="1px"
            android:background="@color/blue" />
    </LinearLayout>
 
    <include layout="@layout/no_network" />
 
    <FrameLayout
        android:id="@+id/fl_recent_fragment_container"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" >
    </FrameLayout>
 
    <LinearLayout
        android:id="@+id/ll_recent_bottom"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:paddingTop="8dp"
        android:visibility="visible" >
 
        <Button
            android:id="@+id/btn_select_all"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/selector_btn_recent_color"
            android:text="@string/select_all"
            android:textColor="@color/gray" />
 
        <View
            android:layout_width="1dp"
            android:layout_height="38dp"
            android:layout_gravity="center"
            android:background="@color/blue1" />
 
        <Button
            android:id="@+id/btn_delete_item"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/selector_btn_recent_color"
            android:text="@string/delete"
            android:textColor="@color/top_bar_color" />
    </LinearLayout>
 
</LinearLayout>