Android フォンを potrait から landscpe に変更すると、リスト ビューのすべてのリスト アイテムのサイズが変更されます。ListView が正しく更新されません。リストビューの幅は、向きの変更時に親を埋めません。アクティビティのマニフェスト ファイルでconfigChanges:orientationを試しましたが、結果は同じです。
画像を以下に示します。
肖像:
風景:
行全体が向きの変更に合わせてサイズ変更されています。
以下に、使用されるxmlレイアウトを示します。
<LinearLayout
a:id="@+id/web_watch_list_modifier_row_body"
a:visibility="visible"
a:gravity="center"
a:background="@drawable/list_selector"
a:layout_height="wrap_content"
a:layout_width="fill_parent"
a:orientation="horizontal">
<EditText
a:id="@+id/watch_list_name_text_box"
a:layout_height="40dip"
a:layout_width="0dip"
a:layout_marginLeft="2dp"
a:maxLength="32"
a:singleLine="true"
a:layout_weight="40"/>
<ImageView
a:id="@+id/dragImageView"
a:background="@drawable/drag_button_img"
a:layout_height="wrap_content"
a:layout_width="wrap_content"/>
</LinearLayout>
あなたの貴重な提案を待っています...