K
K
Kirill Yaroshevich2016-11-04 16:11:51
Android
Kirill Yaroshevich, 2016-11-04 16:11:51

Navigation drawer how to push settings section?

Navigation drawer how to push settings section?
and for the settings button in the navigation drawer to open the settings ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris K., 2016-11-10
@kaftanati

If:
1. You use the standard DrawerNavigation from Google (support library)
2. You use the usual AppCompatActivity for settings
Then just tap on the menu item to start the Activity:

if (id == R.id.nav_settings) 
  {
    startActivity(new Intent(this, ActivitySettings.class));
  }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question