forked from Tencent/APIJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_setting_activity.xml
More file actions
executable file
·122 lines (94 loc) · 3.62 KB
/
server_setting_activity.xml
File metadata and controls
executable file
·122 lines (94 loc) · 3.62 KB
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
<?xml version="1.0" encoding="utf-8"?>
<!-- 使用方法:复制>粘贴>改名>改代码(id必须改,不要和其它类的id重复) -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/activity_page" >
<RelativeLayout style="@style/topbar_bg" >
<ImageView style="@style/topbar_return_img" />
<TextView
style="@style/topbar_title"
android:layout_centerHorizontal="true"
android:text="服务器设置" />
<TextView
style="@style/topbar_right_btn"
android:text="重置" />
</RelativeLayout>
<TextView
style="@style/content_item_remind_tv_black"
android:gravity="center"
android:text="只保存切换至的地址" />
<TextView
android:id="@+id/tvServerSettingNormalName"
style="@style/text_big"
android:layout_width="match_parent"
android:layout_marginTop="30dp"
android:background="@color/white"
android:text="正式服务器"
android:textColor="@color/green" />
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="地址" />
<EditText
android:id="@+id/etServerSettingNormal"
style="@style/edit_item_right_et"
android:layout_weight="1"
android:maxLength="100" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout
style="@style/ll_horizontal_match_wrap"
android:background="@color/white" >
<TextView
android:id="@+id/tvServerSettingNormalSet"
style="@style/bottom_menu_btn_return"
android:layout_weight="1"
android:text="切换至" />
<View style="@style/divider_vertical_1px_gray" />
<TextView
android:id="@+id/tvServerSettingNormalOpen"
style="@style/bottom_menu_btn_forward"
android:layout_weight="1"
android:text="打开网址" />
</LinearLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginBottom="60dp" />
<TextView
android:id="@+id/tvServerSettingTestName"
style="@style/text_big"
android:layout_width="match_parent"
android:background="@color/white"
android:text="测试服务器"
android:textColor="@color/red" />
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/edit_item" >
<TextView
style="@style/edit_item_left_tv"
android:text="地址" />
<EditText
android:id="@+id/etServerSettingTest"
style="@style/edit_item_right_et"
android:layout_weight="1"
android:maxLength="100" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout
style="@style/ll_horizontal_match_wrap"
android:background="@color/white" >
<TextView
android:id="@+id/tvServerSettingTestSet"
style="@style/bottom_menu_btn_return"
android:layout_weight="1"
android:text="切换至" />
<View style="@style/divider_vertical_1px_gray" />
<TextView
android:id="@+id/tvServerSettingTestOpen"
style="@style/bottom_menu_btn_forward"
android:layout_weight="1"
android:text="打开网址" />
</LinearLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginBottom="60dp" />
</LinearLayout>