質問編集履歴

3

失礼しました、再編集致しました。本当にに申し訳ございません

2018/06/27 08:14

投稿

tome_zou
tome_zou

スコア6

test CHANGED
File without changes
test CHANGED
@@ -26,9 +26,7 @@
26
26
 
27
27
  コードは改良したものです。。。
28
28
 
29
- ```java;
29
+ ```java
30
-
31
-
32
30
 
33
31
  import android.content.Intent;
34
32
 
@@ -136,134 +134,130 @@
136
134
 
137
135
  }
138
136
 
139
-
140
-
141
137
  コード
142
138
 
143
139
  ```
144
140
 
145
-
141
+ ```xml
142
+
143
+ <?xml version="1.0" encoding="UTF-8" ?>
144
+
145
+
146
+
147
+ <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
148
+
149
+ xmlns:app="http://schemas.android.com/apk/res-auto"
150
+
151
+ xmlns:tools="http://schemas.android.com/tools"
152
+
153
+ android:layout_width="match_parent"
154
+
155
+ android:layout_height="match_parent"
156
+
157
+ tools:context=".MainActivity">
158
+
159
+
160
+
161
+ <Button
162
+
163
+ android:id="@+id/Idp1_button1"
164
+
165
+ android:layout_width="wrap_content"
166
+
167
+ android:layout_height="47dp"
168
+
169
+ android:layout_centerHorizontal="true"
170
+
171
+ android:layout_centerVertical="true"
172
+
173
+ android:layout_marginLeft="8dp"
174
+
175
+ android:layout_marginStart="8dp"
176
+
177
+ android:layout_marginTop="8dp"
178
+
179
+ android:background="#66f4dc08"
180
+
181
+ android:text="実行"
182
+
183
+ app:layout_constraintStart_toEndOf="@+id/editText1"
184
+
185
+ app:layout_constraintTop_toTopOf="parent" />
186
+
187
+
188
+
189
+ <EditText
190
+
191
+ android:id="@+id/editText1"
192
+
193
+ android:layout_width="wrap_content"
194
+
195
+ android:layout_height="44dp"
196
+
197
+ android:layout_above="@+id/Idp1_button1"
198
+
199
+ android:layout_centerHorizontal="true"
200
+
201
+ android:layout_marginLeft="16dp"
202
+
203
+ android:layout_marginStart="16dp"
204
+
205
+ android:layout_marginTop="8dp"
206
+
207
+ android:background="#c1edeb"
208
+
209
+ android:ems="10"
210
+
211
+ android:inputType="number"
212
+
213
+ android:textSize="18sp"
214
+
215
+ app:layout_constraintStart_toStartOf="parent"
216
+
217
+ app:layout_constraintTop_toTopOf="parent" />
218
+
219
+
220
+
221
+ <Button
222
+
223
+ android:id="@+id/Idp2_button2"
224
+
225
+ android:layout_width="0dp"
226
+
227
+ android:layout_height="wrap_content"
228
+
229
+ android:layout_marginEnd="8dp"
230
+
231
+ android:layout_marginLeft="8dp"
232
+
233
+ android:layout_marginRight="8dp"
234
+
235
+ android:layout_marginStart="8dp"
236
+
237
+ android:layout_marginTop="16dp"
238
+
239
+ android:onClick="Idp2_button2"
240
+
241
+ android:text="\n次のページへ\n"
242
+
243
+ app:layout_constraintEnd_toEndOf="parent"
244
+
245
+ app:layout_constraintHorizontal_bias="0.0"
246
+
247
+ app:layout_constraintStart_toStartOf="parent"
248
+
249
+ app:layout_constraintTop_toBottomOf="@+id/editText1" />
250
+
251
+
252
+
253
+ </android.support.constraint.ConstraintLayout>
254
+
255
+ コード
146
256
 
147
257
  ```
148
258
 
149
- ```<?xml version="1.0" encoding="UTF-8" ?>
259
+
150
-
151
-
152
-
153
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
154
-
155
- xmlns:app="http://schemas.android.com/apk/res-auto"
156
-
157
- xmlns:tools="http://schemas.android.com/tools"
158
-
159
- android:layout_width="match_parent"
160
-
161
- android:layout_height="match_parent"
162
-
163
- tools:context=".MainActivity">
164
-
165
-
166
-
167
- <Button
168
-
169
- android:id="@+id/Idp1_button1"
170
-
171
- android:layout_width="wrap_content"
172
-
173
- android:layout_height="47dp"
174
-
175
- android:layout_centerHorizontal="true"
176
-
177
- android:layout_centerVertical="true"
178
-
179
- android:layout_marginLeft="8dp"
180
-
181
- android:layout_marginStart="8dp"
182
-
183
- android:layout_marginTop="8dp"
184
-
185
- android:background="#66f4dc08"
186
-
187
- android:text="実行"
188
-
189
- app:layout_constraintStart_toEndOf="@+id/editText1"
190
-
191
- app:layout_constraintTop_toTopOf="parent" />
192
-
193
-
194
-
195
- <EditText
196
-
197
- android:id="@+id/editText1"
198
-
199
- android:layout_width="wrap_content"
200
-
201
- android:layout_height="44dp"
202
-
203
- android:layout_above="@+id/Idp1_button1"
204
-
205
- android:layout_centerHorizontal="true"
206
-
207
- android:layout_marginLeft="16dp"
208
-
209
- android:layout_marginStart="16dp"
210
-
211
- android:layout_marginTop="8dp"
212
-
213
- android:background="#c1edeb"
214
-
215
- android:ems="10"
216
-
217
- android:inputType="number"
218
-
219
- android:textSize="18sp"
220
-
221
- app:layout_constraintStart_toStartOf="parent"
222
-
223
- app:layout_constraintTop_toTopOf="parent" />
224
-
225
-
226
-
227
- <Button
228
-
229
- android:id="@+id/Idp2_button2"
230
-
231
- android:layout_width="0dp"
232
-
233
- android:layout_height="wrap_content"
234
-
235
- android:layout_marginEnd="8dp"
236
-
237
- android:layout_marginLeft="8dp"
238
-
239
- android:layout_marginRight="8dp"
240
-
241
- android:layout_marginStart="8dp"
242
-
243
- android:layout_marginTop="16dp"
244
-
245
- android:onClick="Idp2_button2"
246
-
247
- android:text="\n次のページへ\n"
248
-
249
- app:layout_constraintEnd_toEndOf="parent"
250
-
251
- app:layout_constraintHorizontal_bias="0.0"
252
-
253
- app:layout_constraintStart_toStartOf="parent"
254
-
255
- app:layout_constraintTop_toBottomOf="@+id/editText1" />
256
-
257
-
258
-
259
- </android.support.constraint.ConstraintLayout>
260
260
 
261
261
  コード
262
262
 
263
263
  ```
264
-
265
-
266
-
267
- コード
268
-
269
- ```

2

こうでしょうか

2018/06/27 08:14

投稿

tome_zou
tome_zou

スコア6

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  コードは改良したものです。。。
28
28
 
29
- ```package com.test.myapplication2;
29
+ ```java;
30
30
 
31
31
 
32
32
 

1

すいません、失礼しました

2018/06/27 08:06

投稿

tome_zou
tome_zou

スコア6

test CHANGED
File without changes
test CHANGED
@@ -26,9 +26,7 @@
26
26
 
27
27
  コードは改良したものです。。。
28
28
 
29
- ```
30
-
31
- (java)
29
+ ```package com.test.myapplication2;
32
30
 
33
31
 
34
32
 
@@ -138,8 +136,12 @@
138
136
 
139
137
  }
140
138
 
139
+
140
+
141
141
  コード
142
142
 
143
+ ```
144
+
143
145
 
144
146
 
145
147
  ```