OSDN Git Service

httpのダイアログのparameterを複数行表示できるようにする。
[gokigen/A01d.git] / app / src / main / res / layout / http_request_layout.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent">
5     <ScrollView
6         android:layout_width="match_parent"
7         android:layout_height="wrap_content">
8         <LinearLayout
9             android:id="@+id/info_edit_data"
10             android:orientation="vertical"
11             android:layout_width="fill_parent"
12             android:layout_height="wrap_content"
13             android:padding="6dp"
14             >
15             <LinearLayout
16                 android:id="@+id/mode_change_button_area"
17                 android:orientation="horizontal"
18                 android:layout_width="fill_parent"
19                 android:layout_height="wrap_content"
20                 android:padding="6dp"
21                 >
22                 <Button
23                     android:layout_width="wrap_content"
24                     android:layout_height="wrap_content"
25                     android:tag="button"
26                     android:id="@+id/change_to_liveview"
27                     android:text="@string/dialog_button_liveview"
28                     android:layout_gravity="center"
29                     android:visibility="visible"
30                     android:textSize="6pt" />
31
32                 <Button
33                     android:layout_width="wrap_content"
34                     android:layout_height="wrap_content"
35                     android:tag="button"
36                     android:id="@+id/change_to_playback"
37                     android:text="@string/dialog_button_playback"
38                     android:layout_gravity="center"
39                     android:visibility="visible"
40                     android:textSize="6pt" />
41             </LinearLayout>
42
43             <TextView
44                 android:layout_width="fill_parent"
45                 android:layout_height="wrap_content"
46                 android:id="@+id/method_name"
47                 android:tag="title"
48                 android:maxWidth="130dp"
49                 android:minWidth="130dp"
50                 android:layout_gravity="start">
51             </TextView>
52
53             <EditText android:id="@+id/edit_method"
54                 android:layout_width="fill_parent"
55                 android:layout_height="wrap_content"
56                 android:autoLink="all"
57                 android:linksClickable="true"
58                 android:inputType="text"
59                 android:hint="@string/http_dialog_method_hint"
60                 />
61
62             <EditText android:id="@+id/edit_service"
63                 android:layout_width="fill_parent"
64                 android:layout_height="wrap_content"
65                 android:autoLink="all"
66                 android:linksClickable="true"
67                 android:inputType="text"
68                 android:hint="@string/http_dialog_service_hint"
69                 />
70
71             <EditText android:id="@+id/edit_command"
72                 android:layout_width="fill_parent"
73                 android:layout_height="wrap_content"
74                 android:autoLink="all"
75                 android:linksClickable="true"
76                 android:inputType="text"
77                 android:hint="@string/http_dialog_command_hint"
78                 />
79
80             <EditText android:id="@+id/edit_parameter"
81                 android:layout_width="fill_parent"
82                 android:layout_height="wrap_content"
83                 android:autoLink="all"
84                 android:linksClickable="true"
85                 android:inputType="textMultiLine"
86                 android:hint="@string/http_dialog_parameter_hint"
87                 />
88
89             <Button
90                 android:layout_width="wrap_content"
91                 android:layout_height="wrap_content"
92                 android:tag="button"
93                 android:id="@+id/send_message_button"
94                 android:text="@string/dialog_send_message"
95                 android:layout_gravity="center"
96                 android:textSize="6pt" />
97
98             <View
99                 android:layout_width="fill_parent"
100                 android:layout_height="2dp"
101                 android:background="@android:color/darker_gray"/>
102
103             <TextView
104                 android:layout_width="fill_parent"
105                 android:layout_height="wrap_content"
106                 android:id="@+id/olympuspen_command_response_value"
107                 android:text="@string/blank"
108                 />
109
110             <View
111                 android:layout_width="fill_parent"
112                 android:layout_height="2dp"
113                 android:background="@android:color/darker_gray"/>
114
115         </LinearLayout>
116     </ScrollView>
117 </LinearLayout>