我爲屏幕分辨率480x800設置佈局和滾動視圖。我怎樣才能兼容其他屏幕分辨率? 這是我的代碼。請幫幫我。如何根據屏幕分辨率調整佈局和滾動視圖
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="150dp"
android:orientation="vertical" >
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="200dp"
android:background="#86C3C6" >
<TextView
android:id="@+id/tvHistory"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#86C3C6"
android:gravity="right"
android:focusable="true"
android:text=""
android:textColor="#FFFFFF" />
</ScrollView>
</RelativeLayout>
請幫我設置佈局,滾動視圖,並通過TEXTSIZE程序
讓ScrollView比它的容器更高是有點奇怪的。 – 2012-03-08 05:43:57