add gpx track default color

This commit is contained in:
sonora 2015-06-17 03:53:58 +02:00
parent 88b3790eb7
commit 2e5a3edfbe

View file

@ -271,8 +271,8 @@ public class SelectedGPXFragment extends OsmAndListFragment {
final TIntArrayList list = new TIntArrayList();
final Spinner colorSpinner = (Spinner) view.findViewById(R.id.ColorSpinner);
ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(R.color.gpx_track), colorSpinner, list);
//ColorDialogs.setupColorSpinner(getActivity(), getGpx().getColor(0), colorSpinner, list);
ColorDialogs.setupColorSpinner(getActivity(), getMyActivity().getResources().getColor(R.color.gpx_track), colorSpinner, list);
final Spinner sp = (Spinner) view.findViewById(R.id.Spinner);
Builder bld = new AlertDialog.Builder(getMyActivity());