この画像のような UI ヘッダーを作成するにはどうすればよいですか?
以下のコードを使用していますが、画面の 30% を画像に、70% を TextView に調整するにはどうすればよいですか。また、幅の 70% で 2 つの TextView を使用します。これは私のコードです。画像のようには見えません
<?xml version="1.0" encoding="UTF-8"?><LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000000"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#=#EFECE5"
android:orientation="horizontal" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher"
/>
<TextView
android:id="@+id/txtCaption"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:text="San Diego Uified"
/>
<TextView
android:id="@+id/txtCaption"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:text="School District"
/>
</LinearLayout>
</LinearLayout>