Add action on split button
This commit is contained in:
parent
8e41f6d861
commit
9c440c9331
1 changed files with 22 additions and 0 deletions
|
@ -1178,6 +1178,12 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
openAnalyzeOnMap(GPXTabItemType.GPX_TAB_ITEM_GENERAL);
|
||||
}
|
||||
});
|
||||
view.findViewById(R.id.split_interval).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
openSplitIntervalScreen();
|
||||
}
|
||||
});
|
||||
|
||||
break;
|
||||
case GPX_TAB_ITEM_ALTITUDE:
|
||||
|
@ -1222,6 +1228,12 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
openAnalyzeOnMap(GPXTabItemType.GPX_TAB_ITEM_ALTITUDE);
|
||||
}
|
||||
});
|
||||
view.findViewById(R.id.split_interval).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
openSplitIntervalScreen();
|
||||
}
|
||||
});
|
||||
|
||||
break;
|
||||
case GPX_TAB_ITEM_SPEED:
|
||||
|
@ -1265,6 +1277,12 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
openAnalyzeOnMap(GPXTabItemType.GPX_TAB_ITEM_SPEED);
|
||||
}
|
||||
});
|
||||
view.findViewById(R.id.split_interval).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
openSplitIntervalScreen();
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1430,6 +1448,10 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
}
|
||||
}
|
||||
|
||||
void openSplitIntervalScreen() {
|
||||
|
||||
}
|
||||
|
||||
private class SplitTrackAsyncTask extends AsyncTask<Void, Void, Void> {
|
||||
@Nullable
|
||||
private final SelectedGpxFile mSelectedGpxFile;
|
||||
|
|
Loading…
Reference in a new issue