zhangzengfei
2022-01-10 4496b59ab27d569df1da7ef634e02273b3a9618a
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
<?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="@dimen/h88"
    android:background="@drawable/bg_write_border">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/h88"
        android:orientation="horizontal">
 
        <TextView
            android:id="@+id/time_rule_tv_name"
            style="@style/setting_text"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="6"
            android:gravity="center"
            android:text="工作日通行" />
 
        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="3"
            android:gravity="center_vertical">
 
            <ImageView
                android:id="@+id/time_rule_iv_edit"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_weight="1"
                android:clickable="true"
                android:padding="@dimen/h9"
                android:src="@drawable/icon_edit" />
 
            <ImageView
                android:id="@+id/time_rule_iv_delete"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_weight="1"
                android:clickable="true"
                android:padding="@dimen/h9"
                android:src="@drawable/icon_delete" />
 
        </LinearLayout>
 
        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2">
 
            <Button
                android:id="@+id/btn_time_rule_able"
                android:layout_width="@dimen/w65"
                android:layout_height="@dimen/h35"
                android:layout_gravity="center"
                android:layout_marginLeft="@dimen/w35"
                android:background="@drawable/blue_button"
                android:text="启用"
                android:textColor="@color/colorWhite"
                android:textSize="@dimen/font_size_21" />
 
        </LinearLayout>
 
    </LinearLayout>
 
</RelativeLayout>