Add toolbar menu to Fragment · 1. Add toolbar to the xml of fragment; · 2. Add setHasOptionsMenu(true) to onCreate method of fragment;. @Override ...
確定! 回上一頁