I have created an Option menu and footer with 4 icons on it. I would like the overflow menu icon (Three dots icon) to be shown on the footer instead of top right? Is this possible?
If I put a over flow icon is it possible to access the menu.xml file onClick? if so how do I go about doing this?
Thanks!
First of all set activty theme to
NoActionBar.Then create a
Toolbarin XML and setlayout_alignParentBottomtrue.Then in
onCreatecatch the Toolbar and set asActionBarCreate a menu file in
res/menufolderThen inflate that menu in
onCreateOptionsMenu.Then override
onOptionsItemSelectedand do what you want with the items.