mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Attempt 3 (programatical approach) to set layout for menu item (putting toggle button to right side)
This commit is contained in:
parent
72c2205f51
commit
5603808d60
1 changed files with 1 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ public class ContributionsListFragment extends Fragment {
|
|||
}
|
||||
|
||||
menu.findItem(R.id.menu_refresh).setVisible(false);
|
||||
menu.findItem(R.id.menu_theme_toggle).setActionView(R.layout.theme_toggle_layout);
|
||||
}
|
||||
|
||||
/*http://stackoverflow.com/questions/30076392/how-does-this-strange-condition-happens-when-show-menu-item-icon-in-toolbar-over/30337653#30337653
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue