質問編集履歴

1

fragment3のxmlファイルを追加いたしました。

2017/09/16 12:03

投稿

t.d_prog
t.d_prog

スコア11

test CHANGED
File without changes
test CHANGED
@@ -257,3 +257,51 @@
257
257
  }
258
258
 
259
259
  ```
260
+
261
+
262
+
263
+ ```xml
264
+
265
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
266
+
267
+ xmlns:tools="http://schemas.android.com/tools"
268
+
269
+ android:id="@+id/fragment3"
270
+
271
+ android:layout_width="match_parent"
272
+
273
+ android:layout_height="match_parent"
274
+
275
+ tools:context="com.example.user.sample.Fragment3">
276
+
277
+
278
+
279
+ <!-- TODO: Update blank fragment layout -->
280
+
281
+ <TextView
282
+
283
+ android:id="@+id/textView3"
284
+
285
+ android:layout_width="match_parent"
286
+
287
+ android:layout_height="match_parent"
288
+
289
+ android:layout_gravity="center"
290
+
291
+ android:background="@color/colorAccent"
292
+
293
+ android:gravity="center_vertical"
294
+
295
+ android:textAlignment="center"
296
+
297
+ android:textSize="30sp" />
298
+
299
+
300
+
301
+
302
+
303
+ </FrameLayout>
304
+
305
+
306
+
307
+ ```