assigned "all points of the group" to top of the context menu
This commit is contained in:
parent
99a7082153
commit
5e948bd11a
2 changed files with 5 additions and 4 deletions
|
@ -194,6 +194,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
|||
if (groupNameToShow != null) {
|
||||
int position = favouritesAdapter.getGroupPosition(groupNameToShow);
|
||||
if (position != -1) {
|
||||
listView.expandGroup(position);
|
||||
listView.setSelectedGroup(position);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -301,9 +301,6 @@ public class MenuBuilder {
|
|||
public void build(View view) {
|
||||
firstRow = true;
|
||||
hidden = false;
|
||||
if (showTitleIfTruncated) {
|
||||
buildTitleRow(view);
|
||||
}
|
||||
if (showTransportRoutes()) {
|
||||
buildRow(view, 0, null, app.getString(R.string.transport_Routes), 0, true, getCollapsableTransportStopRoutesView(view.getContext(), false, false),
|
||||
false, 0, false, null, true);
|
||||
|
@ -315,11 +312,14 @@ public class MenuBuilder {
|
|||
false, 0, false, null, true);
|
||||
}
|
||||
}
|
||||
buildInternal(view);
|
||||
if (showTitleIfTruncated) {
|
||||
buildTitleRow(view);
|
||||
}
|
||||
buildNearestWikiRow(view);
|
||||
if (needBuildPlainMenuItems()) {
|
||||
buildPlainMenuItems(view);
|
||||
}
|
||||
buildInternal(view);
|
||||
if (showOnlinePhotos) {
|
||||
buildNearestPhotosRow(view);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue