add proper color

This commit is contained in:
sonora 2015-06-17 04:04:59 +02:00
parent 2e5a3edfbe
commit 76d930a5b0

View file

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