commit | 30fa3eebd7cbaa348ffa88f222f6f6bc40c279a0 | [log] [tgz] |
---|---|---|
author | ezio84 <brabus84@gmail.com> | Thu Sep 07 01:12:19 2017 +0200 |
committer | rohan <purohit.rohan@gmail.com> | Thu Oct 10 23:05:41 2019 +0530 |
tree | cc56b9859562b9e55cc120654b3412242b20d7f3 | |
parent | be1732618b2338e136a6cdad3a00ce0b4759b6fd [diff] |
Color picker pref: allow tap also on the text to show the picker other prefs like SwitchPref work this way Change-Id: I80ad85477563ac5508d3b4b2465e333cc27b3ada
diff --git a/src/com/bliss/support/colorpicker/ColorPickerPreference.java b/src/com/bliss/support/colorpicker/ColorPickerPreference.java index 01b0978..f8f97c8 100644 --- a/src/com/bliss/support/colorpicker/ColorPickerPreference.java +++ b/src/com/bliss/support/colorpicker/ColorPickerPreference.java
@@ -102,6 +102,13 @@ mView = view; super.onBindViewHolder(view); + view.itemView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + showDialog(null); + } + }); + widgetFrameView = ((LinearLayout) view .findViewById(android.R.id.widget_frame));