revise getColor call

This commit is contained in:
sonora 2015-06-18 00:43:02 +02:00
parent 5bc1b1fdce
commit 85258cb383

View file

@ -271,8 +271,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_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());