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

라디오버튼을 새로가 아니라 가로로 넣고 싶어요...

0 추천
   <RadioGroup
        android:id="@+id/radioGroup1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:layout_marginRight="270dp"
            android:layout_marginTop="330dp" >
 
        <RadioButton
            android:id="@+id/radio0"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
        
            android:checked="true"
            android:text="남" >
        </RadioButton>
 
        <RadioButton
            android:id="@+id/radio1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
   
            android:text="여" >
        </RadioButton>
    </RadioGroup>
익명사용자 님이 2015년 8월 11일 질문

2개의 답변

0 추천
 
채택된 답변
linearlayout 처럼 orientation 주시면 됩니다.
루지메이앙 (3,450 포인트) 님이 2015년 8월 11일 답변
해줬는데... 여가 사라지는데요...
0 추천
익명사용자 님이 2015년 8월 11일 답변
...