안드로이드 개발 질문/답변
(글 수 45,052)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:layout_weight="2"
android:src="@drawable/test"
android:layout_width="fill_parent"
android:layout_height="fill_parent"></ImageView>
<HorizontalScrollView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:scrollbars="none"
android:inputType="text"
android:layout_weight="1">
<TextView
android:id="@+id/vertitext"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:textSize="350dp"
android:textColor="#00ff00"
android:gravity="center" />
</HorizontalScrollView>
<ImageView
android:layout_weight="2"
android:src="@drawable/test"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
</LinearLayout>
위에 처럼 하면 아래와 같이 뜹니다....
반대로 비율이 정해지는것같은데... 도대체 왜이런거죠? 애니메이션 효과 하나 줬을뿐인데...
애니메이션 효과 없애면 제대로 나옵니다.;;;



