質問編集履歴
1
現状のコード
test
CHANGED
File without changes
|
test
CHANGED
@@ -173,3 +173,157 @@
|
|
173
173
|
</android.support.constraint.ConstraintLayout>
|
174
174
|
|
175
175
|
```
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
12/10 1:40 最新↓
|
180
|
+
|
181
|
+
![イメージ説明](1a5aa620bfbf91e6003ceed4b668bfe2.png)
|
182
|
+
|
183
|
+
```XML
|
184
|
+
|
185
|
+
<?xml version="1.0" encoding="utf-8"?>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
<android.support.constraint.ConstraintLayout
|
190
|
+
|
191
|
+
xmlns:android="http://schemas.android.com/apk/res/android"
|
192
|
+
|
193
|
+
xmlns:app="http://schemas.android.com/apk/res-auto"
|
194
|
+
|
195
|
+
xmlns:tools="http://schemas.android.com/tools"
|
196
|
+
|
197
|
+
android:id="@+id/layout_main"
|
198
|
+
|
199
|
+
android:layout_width="match_parent"
|
200
|
+
|
201
|
+
android:layout_height="match_parent"
|
202
|
+
|
203
|
+
tools:context=".TalkFragment">
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
<android.support.v7.widget.RecyclerView
|
208
|
+
|
209
|
+
android:id="@+id/my_recycler_view"
|
210
|
+
|
211
|
+
android:layout_width="wrap_content"
|
212
|
+
|
213
|
+
android:layout_height="wrap_content"
|
214
|
+
|
215
|
+
android:scrollbars="vertical"
|
216
|
+
|
217
|
+
app:layout_constraintTop_toTopOf="parent"
|
218
|
+
|
219
|
+
app:layout_constraintLeft_toLeftOf="parent"/>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
<android.support.constraint.ConstraintLayout
|
224
|
+
|
225
|
+
xmlns:android="http://schemas.android.com/apk/res/android"
|
226
|
+
|
227
|
+
xmlns:app="http://schemas.android.com/apk/res-auto"
|
228
|
+
|
229
|
+
xmlns:tools="http://schemas.android.com/tools"
|
230
|
+
|
231
|
+
android:id="@+id/layout_sub"
|
232
|
+
|
233
|
+
android:layout_width="wrap_content"
|
234
|
+
|
235
|
+
android:layout_height="wrap_content"
|
236
|
+
|
237
|
+
app:layout_constraintTop_toBottomOf="@+id/my_recycler_view"
|
238
|
+
|
239
|
+
app:layout_constraintLeft_toLeftOf="parent"
|
240
|
+
|
241
|
+
app:layout_constraintBottom_toTopOf="parent"
|
242
|
+
|
243
|
+
app:layout_constraintVertical_chainStyle="packed" >
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<Button
|
248
|
+
|
249
|
+
android:id="@+id/button1"
|
250
|
+
|
251
|
+
android:layout_width="55dp"
|
252
|
+
|
253
|
+
android:layout_height="54dp"
|
254
|
+
|
255
|
+
android:text="カメラ"
|
256
|
+
|
257
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
258
|
+
|
259
|
+
app:layout_constraintLeft_toLeftOf="parent"
|
260
|
+
|
261
|
+
app:layout_constraintTop_toTopOf="parent"
|
262
|
+
|
263
|
+
app:layout_constraintVertical_bias="1.0" />
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
<Button
|
268
|
+
|
269
|
+
android:id="@+id/button2"
|
270
|
+
|
271
|
+
android:layout_width="55dp"
|
272
|
+
|
273
|
+
android:layout_height="54dp"
|
274
|
+
|
275
|
+
android:text="画像"
|
276
|
+
|
277
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
278
|
+
|
279
|
+
app:layout_constraintLeft_toRightOf="@+id/button1"
|
280
|
+
|
281
|
+
app:layout_constraintTop_toTopOf="parent"
|
282
|
+
|
283
|
+
app:layout_constraintVertical_bias="1.0" />
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
<Button
|
288
|
+
|
289
|
+
android:id="@+id/button3"
|
290
|
+
|
291
|
+
android:layout_width="wrap_content"
|
292
|
+
|
293
|
+
android:layout_height="wrap_content"
|
294
|
+
|
295
|
+
android:text="送信"
|
296
|
+
|
297
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
298
|
+
|
299
|
+
app:layout_constraintVertical_bias="0.994"
|
300
|
+
|
301
|
+
app:layout_constraintLeft_toRightOf="@+id/edittext" />
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
<EditText
|
306
|
+
|
307
|
+
android:id="@+id/edittext"
|
308
|
+
|
309
|
+
android:layout_width="180dp"
|
310
|
+
|
311
|
+
android:layout_height="54dp"
|
312
|
+
|
313
|
+
android:background="@drawable/edittext_background"
|
314
|
+
|
315
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
316
|
+
|
317
|
+
app:layout_constraintLeft_toRightOf="@+id/button2"
|
318
|
+
|
319
|
+
app:layout_constraintTop_toTopOf="parent"
|
320
|
+
|
321
|
+
app:layout_constraintVertical_bias="1.0" />
|
322
|
+
|
323
|
+
</android.support.constraint.ConstraintLayout>
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
</android.support.constraint.ConstraintLayout>
|
328
|
+
|
329
|
+
```
|