<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true"
android:layout_weight="1"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="1111.
commentcommentcommentcommentcommentcommentcommentcomment
t"
android:layout_weight="1"
/>
</ScrollView>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="vertical"
android:gravity="center"
>
<EditText
android:id="@+id/entry"
android:layout_width="250px"
android:layout_height="wrap_content"
android:hint="input here"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_toLeftOf="@id/entry"
android:layout_alignParentRight="true"
android:text="test"
/>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
주로 크기나 위치 같은 곳 등에서 바꾸는데 어려움을 겪고 있습니다.
바꾸는데 자꾸 에러가 나거나.. 잘 모르는 변수들이 너무 많아서 손을 못대고 있습니다..
위의 소스를 java로 표현 하고자 할때 어떤식으로 해야 되는지.. 부탁 좀 드립니다.



