I am using NavigationDrawer in my Android app, I have made my own custom layouts XML file and their adapters also but When I run my program then my application
Your ListView must specify the android:layout_gravity attribute in the xml so it can be identified as sliding drawer by the DrawerLayout.
Use right, left, start, end as values.