質問編集履歴

1

xmlの追加

2018/06/16 23:53

投稿

syyyow
syyyow

スコア28

test CHANGED
File without changes
test CHANGED
@@ -138,7 +138,213 @@
138
138
 
139
139
 
140
140
 
141
-
141
+ activity_product_box.xml
142
+
143
+
144
+
145
+ <?xml version="1.0" encoding="utf-8"?>
146
+
147
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
148
+
149
+ xmlns:app="http://schemas.android.com/apk/res-auto"
150
+
151
+ android:layout_width="match_parent"
152
+
153
+ android:layout_height="match_parent"
154
+
155
+ android:orientation="vertical">
156
+
157
+
158
+
159
+ <ScrollView
160
+
161
+ android:layout_width="match_parent"
162
+
163
+ android:layout_weight="1">
164
+
165
+
166
+
167
+ <LinearLayout
168
+
169
+ android:layout_width="match_parent"
170
+
171
+ android:layout_height="wrap_content"
172
+
173
+ android:orientation="vertical">
174
+
175
+
176
+
177
+ <FrameLayout
178
+
179
+ android:layout_width="match_parent"
180
+
181
+ android:layout_height="wrap_content"
182
+
183
+ android:layout_weight="1">
184
+
185
+
186
+
187
+ <ImageView
188
+
189
+ android:id="@+id/imageView"
190
+
191
+ android:layout_width="match_parent"
192
+
193
+ android:layout_height="260dp"
194
+
195
+ android:layout_weight="1"
196
+
197
+ app:srcCompat="@drawable/box" />
198
+
199
+
200
+
201
+ </FrameLayout>
202
+
203
+
204
+
205
+
206
+
207
+ <FrameLayout
208
+
209
+ android:layout_width="match_parent"
210
+
211
+ android:layout_height="match_parent"
212
+
213
+ android:layout_weight="1">
214
+
215
+
216
+
217
+ <TextView
218
+
219
+ android:id="@+id/textView1"
220
+
221
+ android:layout_width="match_parent"
222
+
223
+ android:layout_height="34dp"
224
+
225
+ android:layout_weight="1"
226
+
227
+ android:text="タイトル"
228
+
229
+ android:textSize="24sp" />
230
+
231
+
232
+
233
+ <android.support.design.widget.FloatingActionButton
234
+
235
+ android:id="@+id/floatingActionButton2"
236
+
237
+ android:layout_width="wrap_content"
238
+
239
+ android:layout_height="wrap_content"
240
+
241
+ android:layout_gravity="right"
242
+
243
+ android:clickable="true"
244
+
245
+ app:srcCompat="@android:drawable/btn_star_big_on" />
246
+
247
+
248
+
249
+ </FrameLayout>
250
+
251
+
252
+
253
+
254
+
255
+ <FrameLayout
256
+
257
+ android:layout_width="match_parent"
258
+
259
+ android:layout_height="match_parent"
260
+
261
+ android:layout_weight="1">
262
+
263
+
264
+
265
+ <TextView
266
+
267
+ android:id="@+id/textView6"
268
+
269
+ android:layout_width="wrap_content"
270
+
271
+ android:layout_height="wrap_content"
272
+
273
+ android:text="〜〜〜
274
+
275
+ 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜" />
276
+
277
+
278
+
279
+ </FrameLayout>
280
+
281
+
282
+
283
+
284
+
285
+ <FrameLayout
286
+
287
+ android:layout_width="match_parent"
288
+
289
+ android:layout_height="match_parent"
290
+
291
+ android:layout_weight="1">
292
+
293
+
294
+
295
+ <android.support.design.widget.FloatingActionButton
296
+
297
+ android:id="@+id/floatingActionButton"
298
+
299
+ android:layout_width="wrap_content"
300
+
301
+ android:layout_height="wrap_content"
302
+
303
+ android:clickable="true"
304
+
305
+ app:srcCompat="@drawable/ic_cart_black_24dp" />
306
+
307
+
308
+
309
+ <Button
310
+
311
+ android:id="@+id/button2"
312
+
313
+ android:layout_width="wrap_content"
314
+
315
+ android:layout_height="match_parent"
316
+
317
+ android:layout_gravity="right"
318
+
319
+ android:text="購入画面"
320
+
321
+ android:textStyle="bold" />
322
+
323
+ </FrameLayout>
324
+
325
+
326
+
327
+
328
+
329
+ <FrameLayout
330
+
331
+ android:layout_width="match_parent"
332
+
333
+ android:layout_height="match_parent"
334
+
335
+ android:layout_weight="1">
336
+
337
+
338
+
339
+ </FrameLayout>
340
+
341
+ </LinearLayout>
342
+
343
+ </ScrollView>
344
+
345
+
346
+
347
+ </LinearLayout>
142
348
 
143
349
 
144
350