안드로이드 개발 질문/답변
(글 수 45,052)
간단한 어플을 연습하고 있는데요..
맨아래 오른쪽 가장자리끝에 Cancle을 놓고 싶은데 어떻게 해야되나요?
질문을 너무 간단히 말씀드려서 죄송합니다.
소스는 RelativeLayout이랑 Button 참조해서 한거에여
제발 알려주세요...
2010.01.23 12:47:49
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom"
>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="start"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="cancel"
/>
</RelativeLayout>
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom"
>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="start"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="cancel"
/>
</RelativeLayout>