我有以下布局Realtive布局与绝对布局
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout android:id="@+id/LinearLayout01"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/flowerpower">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_y="200dip"
android:textColor="#000000"
android:text="Test"/>
</AbsoluteLayout>
现在我的问题是在不同的屏幕尺寸显示器在东阳其绝对布局的正确位置TextView的心不是。我如何使这一个与RelativeLayout工作?我建议这是正确的解决方案? RealtiveLayout?
你能定义什么日e“正确的位置”是? – jkhouw1 2011-05-20 09:52:07
这就是问题所在。我有一个适合文本的背景。该图像有一个额外的小窗口,在那里显示文本视图。它的nessesry定义绝对的方式,在每个屏幕尺寸的文本和backgorund是在正确positin。 – user758610 2011-05-20 11:52:44