SlidingDrawerを水平方向に使用しようとすると、ハンドラとコンテンツの間にスペースができます。どのように私はそれを取り除くことができる任意のアイデア?縦方向では私はスペースを得ていません。SlidingDrawer内のハンドラとコンテンツの間のスペース
<SlidingDrawer
android:id="@+id/module_trafic_map_drawer"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal"
android:topOffset="0dp"
android:bottomOffset="0dp"
android:handle="@+id/module_trafic_map_handle"
android:content="@+id/module_trafic_map_content">
<ImageView
android:id="@id/module_trafic_map_handle"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/trafic_info_popup_right"
/>
<WebView
android:id="@+id/module_trafic_map_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</SlidingDrawer>
SlidingDrawerの幅をmatch_parentに設定しようとしましたか? –
layout_widthをmatch_parentに変更しても、ハンドラとコンテンツの間のギャップは取り除かれません。 – Mokus
役立つかどうかわかりませんが、SlidingDrawerがTabViewのコンテンツに追加されていると付け加えたいと思います。 – Mokus