I need to make an application with 2 activity.
The arrangement of the elements on them is as follows:
What is the best way to do this? Leave the actionBar on top or make the layout additional?
I do not know how, for example, to make the application name in the actionBar in the middle, how to hide / show the "reload" button, how to make the "home" arrow appear, and the text in the middle.
UPD
public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu, menu); menuItem = menu.findItem(R.id.reload_button); menuItem.setEnabled(true); menuItem.setVisible(true); }