Change title in add line mode
This commit is contained in:
parent
468d1eb4e2
commit
c32e6d4681
1 changed files with 5 additions and 1 deletions
|
@ -284,7 +284,11 @@ public class MeasurementToolFragment extends Fragment {
|
|||
|
||||
if (portrait) {
|
||||
toolBarController = new MeasurementToolBarController();
|
||||
toolBarController.setTitle(getString(R.string.measurement_tool_action_bar));
|
||||
if (newGpxLine != null) {
|
||||
toolBarController.setTitle(getString(R.string.add_line));
|
||||
} else {
|
||||
toolBarController.setTitle(getString(R.string.measurement_tool_action_bar));
|
||||
}
|
||||
toolBarController.setOnBackButtonClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
Loading…
Reference in a new issue