これを修正しようとするのはうんざりですが、運はありません。
Map View、シークバー、EditText で構成されたレイアウトがあります。
マップビューがスペース全体を占有しているため、EditText テキストが表示されないという問題。
重量値で遊んでみましたが、うまくいきませんでした。
あなたの助けに感謝。
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent" >
<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:apiKey="somekey"
android:clickable="true"
android:layout_weight="0"
a:layout_alignParentTop="true"
/>
<SeekBar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/seekBar1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginTop="26dp"
a:paddingLeft="10dip"
a:paddingRight="10dip"
a:paddingTop="30dip"
android:max="100" >
</SeekBar>
<EditText
a:id="@+id/smsBody"
a:layout_width="0dip"
a:layout_height="wrap_content"
a:layout_weight="1.0"
a:autoText="true"
a:capitalize="sentences"
a:hint="@string/sms_enter_message"
a:imeOptions="actionSend|flagNoEnterAction"
a:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
a:maxLines="10"
a:nextFocusRight="@+id/send_button"
a:layout_alignParentBottom="true" />
</RelativeLayout>