mac
2024-03-21 316edc17322cd39ca9b9bd285ba63018cebfa2b4
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
<?xml version="1.0" encoding="utf-8"?>
 
<com.hdl.photovoltaic.widget.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/item_parent_swipeLayout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
 
    <include
        android:id="@+id/swipe_layout_il"
        layout="@layout/swipe_right_layout" />
 
    <RelativeLayout
        android:id="@+id/item_parent_rl"
        android:layout_width="match_parent"
        android:layout_height="142dp"
        android:background="@color/text_F9FAFB">
 
        <RelativeLayout
            android:id="@+id/fragment_house_list_line_parent_rl"
            android:layout_width="0dp"
            android:layout_height="130dp"
            android:layout_alignParentStart="true"
            android:layout_alignParentEnd="true"
            android:layout_marginStart="@dimen/dp_20"
            android:layout_marginTop="@dimen/dp_12"
            android:layout_marginEnd="@dimen/dp_20"
            android:background="@drawable/house_list_line_parent_bg">
 
            <ImageView
                android:id="@+id/fragment_house_list_line_left_iv"
                android:layout_width="113dp"
                android:layout_height="130dp"
                android:background="@drawable/default_user"
                android:scaleType="centerCrop" />
 
            <TextView
                android:id="@+id/fragment_house_list_line_name_tv"
                android:layout_width="170dp"
                android:layout_height="@dimen/dp_23"
                android:layout_marginStart="@dimen/dp_15"
                android:layout_marginTop="@dimen/dp_28"
                android:layout_toEndOf="@+id/fragment_house_list_line_left_iv"
                android:ellipsize="end"
                android:gravity="center_vertical|start"
                android:singleLine="true"
                android:text="@string/power_station"
                android:textColor="@color/text_90000000"
                android:textSize="@dimen/text_16" />
 
            <TextView
                android:id="@+id/fragment_house_list_line_capacity_tv"
                android:layout_width="wrap_content"
                android:layout_height="@dimen/dp_17"
                android:layout_below="@+id/fragment_house_list_line_name_tv"
                android:layout_alignStart="@+id/fragment_house_list_line_name_tv"
                android:layout_marginTop="@dimen/dp_13"
                android:gravity="center_vertical"
                android:text="@string/my_power_station_installed_capacity"
                android:textColor="@color/text_40000000"
                android:textSize="@dimen/text_12" />
 
            <TextView
                android:id="@+id/fragment_house_list_line_power_tv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/fragment_house_list_line_capacity_tv"
                android:layout_alignStart="@+id/fragment_house_list_line_capacity_tv"
                android:layout_marginTop="@dimen/dp_13"
                android:gravity="center_vertical"
                android:text="@string/power_station_generated_power"
                android:textColor="@color/text_40000000"
                android:textSize="@dimen/text_12" />
 
            <TextView
                android:id="@+id/fragment_house_list_line_state_tv"
                android:layout_width="@dimen/dp_48"
                android:layout_height="@dimen/dp_33"
                android:layout_alignParentTop="true"
                android:layout_alignParentEnd="true"
                android:background="@drawable/state_ffb300"
                android:gravity="center"
                android:text="@string/my_power_station_connecting"
                android:textColor="@color/text_FFFFFFFF"
                android:textSize="@dimen/text_12" />
 
 
        </RelativeLayout>
 
 
    </RelativeLayout>
 
</com.hdl.photovoltaic.widget.SwipeLayout>