forked from upstream-mirrors/OpenTracks
Minor UI improvements.
- close contextual menu after an item is selected - collapse the search widget after a search request is sent - show keyboard by default for the editors - in the search list, if edit or delete is selected in the contextual menu, close the search list since its content will get changed. - enable QueryRefinement in search widget - do not call super.onNewIntent - update search.xml to include imeOptions, queryAfterZeroResults, and set searchSuggestionThreshold to 1.
This commit is contained in:
+2
@@ -57,6 +57,8 @@ public class DeleteOneTrackDialogFragment extends DialogFragment {
|
||||
.deleteTrack(getArguments().getLong(KEY_TRACK_ID));
|
||||
Intent intent = IntentUtils.newIntent(getActivity(), TrackListActivity.class);
|
||||
startActivity(intent);
|
||||
// Close the activity since its content can change after delete.
|
||||
getActivity().finish();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user