Switched to QuadFlask colorpicker

This commit is contained in:
M66B
2019-09-29 16:31:13 +02:00
parent 97bc466942
commit fc3866f908
16 changed files with 79 additions and 107 deletions

View File

@@ -303,8 +303,12 @@ public class FragmentAccount extends FragmentBase {
btnColor.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Bundle args = new Bundle();
args.putInt("color", btnColor.getColor());
args.putString("title", getString(R.string.title_color));
FragmentDialogColor fragment = new FragmentDialogColor();
fragment.initialize(R.string.title_color, btnColor.getColor(), new Bundle(), getContext());
fragment.setArguments(args);
fragment.setTargetFragment(FragmentAccount.this, REQUEST_COLOR);
fragment.show(getFragmentManager(), "account:color");
}