Android Question (Solved) Start an Activity from a NavigationDrawer

Pencil3

Member
Licensed User
Trying to figure out how to have a DesignSupport NavigationDrawer open a Preference Activity. Have tried a few things like

Support_NavigationItemClick
StartActivity(PrefsMain)

and

Support_Click
StartActivity(PrefsMain)

But I am stuck, any pointers?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Pencil3

Member
Licensed User
Yes, so I have a Material Design Preference done along with a DesignSupport NavigationDrawer. I can use

Activity.AddMenuItem("Settings", "Menu")

and

Menu_Click
Log("Start Preference Activity")
StartActivity(PrefsMain)

and everything works fine. But I want to be able to click on "settings" in the NavigationDrawer and have the same operation. I can't figure out how to do that and can't seem to find any posts on it as well.

 
Upvote 0
Top