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

이게 코팅한게 맞는지 봐주세요...

0 추천

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="60dp"

android:orientation="vertical" >

 

<Button

android:id="@+id/button1"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="60dp"

android:text="버튼1" />

 

<Button

android:id="@+id/button2"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="60dp"

android:layout_marginTop="40dp"

android:text="버튼2" />

 

</LinearLayout>

 

 

 

화면이 이렇게 나오는게 맞는건가요..?

익명사용자 님이 2013년 10월 18일 질문

1개의 답변

0 추천

android:layout_marginLeft="60dp" 가 두번 들어간듯 한데요. LinearLayout 쪽을 빼던지, 아니면 아래 두곳을 빼세요. 

사악미소 (65,330 포인트) 님이 2013년 10월 18일 답변
...