Blame view

XPadAppRD/testproject/src/main/res/layout/activity_main3.xml 3.39 KB
3ae7ffc5   孙向锦   project init
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
  <?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:orientation="vertical">
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:text="Server IP:"
              android:textSize="@dimen/big_text_p3" />
  
          <EditText
              android:id="@+id/server_ip"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:text="192.168.0.1"
              android:textSize="@dimen/big_text_p3" />
  
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:text="Port:"
              android:textSize="@dimen/big_text_p3" />
  
          <EditText
              android:id="@+id/server_port"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:textSize="@dimen/big_text_p3"
              android:text="4002"/>
  
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:text="KeyID:"
              android:textSize="@dimen/big_text_p3" />
  
          <EditText
              android:id="@+id/key_id"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:textSize="@dimen/big_text_p3"
              android:text="1"/>
  
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:id="@+id/state"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:text="准备就绪"
              android:textSize="@dimen/big_text_p3" />
      </LinearLayout>
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:id="@+id/start"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:text="开始下载"
              android:textSize="@dimen/big_text_p3"
              android:gravity="center"/>
  
          <TextView
              android:id="@+id/stop"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:text="停止下载"
              android:textSize="@dimen/big_text_p3"
              android:gravity="center"/>
      </LinearLayout>
  
  </LinearLayout>