JLChen
2020-03-05 bdec7373b358239521703995c5220e995dee289c
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".activity.SettingActivity">
 
 
 
    <LinearLayout
        android:id="@+id/mLinearLayout1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:layout_marginTop="20dp">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="30dp"
        android:text="修改本地的子网号和设备号"
        android:gravity="center|left"
        android:textSize="20dp"
        android:textColor="#000000"/>
 
    <EditText
        android:id="@+id/et_subnetID"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_marginTop="10dp"
        android:inputType="number"
        android:maxLength="3"
        android:hint="@string/et_subnetid_hint"
        />
 
    <EditText
        android:id="@+id/et_deviceID"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_marginTop="10dp"
        android:inputType="number"
        android:maxLength="3"
        android:hint="@string/et_deviceid_hint"
        />
 
    <Button
        android:id="@+id/btn_save"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_marginTop="10dp"
        android:text="@string/btn_save"/>
 
</LinearLayout>
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginTop="20dp"
        android:layout_below="@+id/mLinearLayout1">
        <TextView
            android:layout_width="match_parent"
            android:layout_height="30dp"
            android:text="修改是否允许简易编程搜索"
            android:gravity="center|left"
            android:textSize="20dp"
            android:textColor="#000000"/>
 
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="50dp">
            <TextView
                android:layout_width="60dp"
                android:layout_height="match_parent"
                android:text="大类:"
                android:gravity="center"
                android:textSize="16dp"
                ></TextView>
 
            <EditText
                android:id="@+id/et_bigclass"
                android:layout_width="120dp"
                android:layout_height="match_parent"
                android:layout_marginTop="10dp"
                android:gravity="center|left"
                android:hint="大类ID类型"
                android:inputType="number"
                android:maxLength="3"
                android:text="9"
                android:textSize="16dp" />
 
            <TextView
                android:layout_width="60dp"
                android:layout_height="match_parent"
                android:text="小类:"
                android:gravity="center"
                android:textSize="16dp"
                android:layout_marginLeft="20dp"
                ></TextView>
 
            <EditText
                android:id="@+id/et_smallclass"
                android:layout_width="120dp"
                android:layout_height="match_parent"
                android:layout_marginTop="10dp"
                android:gravity="center|left"
                android:inputType="number"
                android:maxLength="3"
                android:textSize="16dp"
                android:text="1"
                />
 
 
 
        </LinearLayout>
 
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="50dp">
            <TextView
                android:layout_width="60dp"
                android:layout_height="match_parent"
                android:text="备注:"
                android:gravity="center"
                android:textSize="16dp"
                ></TextView>
 
            <EditText
                android:id="@+id/et_remark"
                android:layout_width="200dp"
                android:layout_height="match_parent"
                android:layout_marginTop="10dp"
                android:gravity="center|left"
                android:inputType="number"
                android:hint="SDK备注"
                android:textSize="16dp"
                android:text="SDK特殊设备"
                />
 
            <Button
                android:id="@+id/btn_save_allow"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:text="允许"/>
 
 
 
        </LinearLayout>
 
 
        <Button
            android:id="@+id/btn_save_close"
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:layout_marginTop="10dp"
            android:text="禁止"/>
 
    </LinearLayout>
</RelativeLayout>