How to stop Android navigation drawer from opening automatically? -
how stop navigation drawer in android app opening automatically? it used work fine. out of sight @ first , able swiped visibility. needed title it. @ first listview. after modifying drawer xml (see below) give title above list view, began opening automatically. didn't add code my_nav_drawer.openonstartup(). <!-- navigation drawer --> <android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- main content view --> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingbottom="@dimen/activity_vertical_margin" android:paddingleft="@dimen/a...