> ViewGroup に任せるほうが自然なように思いますが
なるほどです。
だとすると、極端ですがこのようなビューのサイズを変化させたい場合は
どのようにすればよいのでしょうか。
間隔やビューの大きさを等倍率にディスプレイの大きさに合わせて変化させたいです。
ViewGroup に任せる場合はどのようにすればよいのでしょうか?
できればEclipseのGraphical Layoutで確認ができれば助かるのですが。
現在の端末はmdpi 1280 * 800です.
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="51dp"
android:layout_marginTop="91dp"
android:text="テキスト1"
android:textSize="20dp" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/textView1"
android:text="テキスト3"
android:textSize="20dp" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="85dp"
android:text="テキスト2"
android:textSize="20dp" />
</RelativeLayout>