배경: - Fragment에 Google Maps를 올려 사용자에게 보여주고 있다. - 사용자가 Dialog 창을 열어 검색을 할 수 있게 하고 싶다. 1. Dialog layout xml 생성 Dialog 창에는 하나의 EditText를 추가하여 사용자로 하여금 String을 입력받게 한다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 < LinearLayout xmlns:android = "http://schemas.android.com/apk/res/android" android:orientation = "vertical" android:layout_width = "wrap_content" android:layout_height = "wrap_content" > < LinearLayout android:orientation = "horizontal" android:layout_width = "match_parent" android:layout_height = "wrap_content" > < TextView android:layout_width = "match_parent" android:layout_height = "match_parent&quo
댓글
댓글 쓰기