마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

지도와 레이아웃에 관하여 ~~~~~~~~~

0 추천
한 프로젝트 안에

구글맵 연동하고 채팅기능을 구현해서

=======
-----------ㅣ
맵          ㅣ
             ㅣ
             ㅣ
             ㅣ
-----------ㅣ
채팅창  ㅣ
             ㅣ
-----------ㅣ
=======

한 화면안에

이런식으로 동작하게 할수 있을까요
익명사용자 님이 2013년 4월 27일 질문

1개의 답변

0 추천

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.google.android.maps.MapView
     android:id="@+id/map_view"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:enabled="true"
     android:clickable="true"
     android:apiKey="api key 값"
    />                                                                    <!-- width height 조정 하시구요. -->
   
    <TextView
        android:id="@+id/tvText"
        android:layout_width="wrap_content"        <!-- width height 조정 하시구요. -->
        android:layout_height="wrap_content"/>
   
    <EditText
        android:id="@+id/etText"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>    <!-- width height 조정 하시구요. -->
 

</LinearLayout>

이렇게 하시면 됩니다.

센스가이 (2,010 포인트) 님이 2013년 4월 29일 답변
...