forked from upstream-mirrors/OpenTracks
UI refactoring with a Bottom App Bar.
Only one button to play/stop. Stop Activity to edit track just recorded, resuming or finishing. Logo color to FF6D00. Fixes #1078 #437 #575 #1094.
This commit is contained in:
committed by
Román Martínez
parent
a350077e5c
commit
da62d26409
@@ -45,7 +45,7 @@ public class ActivityUtils {
|
||||
|
||||
@Override
|
||||
public void onDestroyActionMode(ActionMode mode) {
|
||||
// Do nothing
|
||||
contextualActionModeCallback.onDestroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -127,5 +127,10 @@ public class ActivityUtils {
|
||||
* @param ids the selected items' ids, if available
|
||||
*/
|
||||
boolean onClick(int itemId, int[] positions, long[] ids);
|
||||
|
||||
/**
|
||||
* Invoked when contextual action mode is destroyed.
|
||||
*/
|
||||
void onDestroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user