Fix 26 api
This commit is contained in:
parent
15d49a132f
commit
51d0bd7013
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ public class MeasurementToolFragment extends Fragment {
|
||||||
|
|
||||||
private void saveAsGpxOnClick(MapActivity mapActivity) {
|
private void saveAsGpxOnClick(MapActivity mapActivity) {
|
||||||
final File dir = mapActivity.getMyApplication().getAppPath(IndexConstants.GPX_INDEX_DIR);
|
final File dir = mapActivity.getMyApplication().getAppPath(IndexConstants.GPX_INDEX_DIR);
|
||||||
final LayoutInflater inflater = getLayoutInflater();
|
final LayoutInflater inflater = mapActivity.getLayoutInflater();
|
||||||
final View view = inflater.inflate(R.layout.save_gpx_dialog, null);
|
final View view = inflater.inflate(R.layout.save_gpx_dialog, null);
|
||||||
final EditText nameEt = (EditText) view.findViewById(R.id.gpx_name_et);
|
final EditText nameEt = (EditText) view.findViewById(R.id.gpx_name_et);
|
||||||
final TextView fileExistsTv = (TextView) view.findViewById(R.id.file_exists_text_view);
|
final TextView fileExistsTv = (TextView) view.findViewById(R.id.file_exists_text_view);
|
||||||
|
|
Loading…
Reference in a new issue