1 つの XML ファイルで 2 つの画像を使用する必要があるアプリケーションを作成しています。(1 つはロゴ用で、もう 1 つはログイン パターンです) . パターン画像では、2 つの EditText を設定する必要があります。これどうやってするの???
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ImageView
.
.
.
.
./>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/some image"
android:layout_marginLeft="200dp"
android:layout_marginBottom="300dp"
android:layout_marginTop="80dp">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>
</RelativeLayout>
</relativeLayout>