質問編集履歴

1

レイアウトファイルの追加

2016/02/26 07:49

投稿

nnsuke24
nnsuke24

スコア25

test CHANGED
File without changes
test CHANGED
@@ -87,3 +87,43 @@
87
87
  }
88
88
 
89
89
  ```
90
+
91
+ 追記
92
+
93
+ fragment_map_test.xml (layoutファイル)
94
+
95
+ ```xml
96
+
97
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
98
+
99
+ xmlns:tools="http://schemas.android.com/tools"
100
+
101
+ android:layout_width="match_parent"
102
+
103
+ android:layout_height="match_parent"
104
+
105
+ tools:context=".MapTestFragment">
106
+
107
+
108
+
109
+ ---略---
110
+
111
+
112
+
113
+ <fragment
114
+
115
+ xmlns:android="http://schemas.android.com/apk/res/android"
116
+
117
+ android:id="@+id/map"
118
+
119
+ android:layout_width="match_parent"
120
+
121
+ android:layout_height="match_parent"
122
+
123
+ android:name="com.google.android.gms.maps.SupportMapFragment"/>
124
+
125
+
126
+
127
+ </FrameLayout>
128
+
129
+ ```