Cod*_*tor 4 android textview android-layout android-imageview
我需要设计下面给出的Andorid布局,但是我无法正确处理定位.

以下是视图部件的类型和我的约束:
我试过相对布局,但我无法处理最右边的视图(即F).那么这个布局的正确XML标记应该是什么?
非常坦率的.尝试这样的事情(我省略了其他东西,如高度和宽度,以节省空间):
<RelativeLayout>
<ImageView
android:id="@+id/A"
android:layout_alignParentLeft="true" />
<ImageView
android:id="@+id/F"
android:layout_alignParentRight="true" />
<LinearLayout
android:id="@+id/container"
android:layout_toRightOf="@+id/A"
android:layout_toLeftOf="@+id/F"
android:orientation="horizontal"
android:weightSum="3" >
<TextView
android:id="@+id/B"
android:layout_weight="1" />
<TextView
android:id="@+id/C"
android:layout_weight="1" />
<TextView
android:id="@+id/D"
android:layout_weight="1" />
</LinearLayout>
<TextView
android:id="@+id/E"
android:layout_toRightOf="@+id/A"
android:layout_toLeftOf="@+id/F"
android:layout_below="@+id/container" />
</RelativeLayout>
Run Code Online (Sandbox Code Playgroud)