안녕하세요 ..
그리드 레이아웃이라던지, 렐러티브 레이아웃같은 경우에는 위젯을
끌어다가 다음으로 넘기면 되는데.. 리니어 레이아웃 같은 경우에는
어떻게 해야, 다음 행으로 넘길수 있을지 잘 모르겠어요 ㅠ ㅠ
아래와 같은 소스를 실행해보면 첫줄에만 에디트 텍스트랑 버튼이
있는데 그 다음에 버튼을 하면 오른쪽에 붙어서.. 난감해요 ㅠ
다음행으로 넘기고 싶은데 어떻게 해야하나요 ㅠ ㅠ
다른 레이아웃들은 잘 알겠는데.. 도와주세요 ㅠ ㅠ
도와주세요 ㅠㅠ
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="5"
tools:context="ex.project3.MainActivity">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="4.5"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"/>
</LinearLayout>
