toolbar back button error Android
问题 I want to add a Back button in a toolbar that I created because I deleted the default one to have the material design effect with some tabs, but every time I add the code to make that button appear, Android gives an exception saying this: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.juan.sdfnsdfnskdfnskdfmsfd, PID: 13348 java.lang.NullPointerException: Attempt to invoke virtual method 'int android.support.v4.widget.DrawerLayout.getDrawerLockMode(int)' on a null object