teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

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

2017/09/16 12:03

投稿

t.d_prog
t.d_prog

スコア11

title CHANGED
File without changes
body CHANGED
@@ -127,4 +127,28 @@
127
127
  }
128
128
 
129
129
  }
130
+ ```
131
+
132
+ ```xml
133
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
134
+ xmlns:tools="http://schemas.android.com/tools"
135
+ android:id="@+id/fragment3"
136
+ android:layout_width="match_parent"
137
+ android:layout_height="match_parent"
138
+ tools:context="com.example.user.sample.Fragment3">
139
+
140
+ <!-- TODO: Update blank fragment layout -->
141
+ <TextView
142
+ android:id="@+id/textView3"
143
+ android:layout_width="match_parent"
144
+ android:layout_height="match_parent"
145
+ android:layout_gravity="center"
146
+ android:background="@color/colorAccent"
147
+ android:gravity="center_vertical"
148
+ android:textAlignment="center"
149
+ android:textSize="30sp" />
150
+
151
+
152
+ </FrameLayout>
153
+
130
154
  ```