changed color of ok button in coolor picker to match the cancel button

This commit is contained in:
Hamad alghanim 2017-06-12 21:11:31 +03:00
parent 4df3e08ab0
commit ac5d298568

View File

@ -64,7 +64,7 @@ public class ColorPickerPreference extends Preference implements ColorPicker.OnC
colorPicker.setTitle(title);
TextView title_tv = colorPicker.getDialogViewLayout().findViewById(R.id.title);
title_tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14);
colorPicker.getPositiveButton().setTextColor(ViewHelper.getAccentColor(getContext()));
colorPicker.getPositiveButton().setTextColor(ViewHelper.getPrimaryTextColor(getContext()));
colorPicker.getNegativeButton().setTextColor(ViewHelper.getPrimaryTextColor(getContext()));
colorPicker.setOnChooseColorListener(this);
colorPicker.show();