I'm using the SlidingPaneLayout in my application.
In the landscape orientation I want the left and right panes of the SlidingPaneLayout to fit entirely and no swipe should be required to view them.
My layout is:
<android.support.v4.widget.SlidingPaneLayout
android:id="@+id/sliding_pane_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/header" >
<ListView
android:id="@+id/left_drawer"
android:layout_width="220dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@color/tab_normal_bg"
android:choiceMode="singleChoice"
android:divider="@drawable/tab_divider"
android:dividerHeight="1dp" />
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="1000dp"
android:layout_height="match_parent"
android:layout_weight="1" />
</android.support.v4.widget.SlidingPaneLayout>
Any help would be much appreciated.
Thank you!