File tree Expand file tree Collapse file tree 8 files changed +11
-20
lines changed
kotlin/com/github/dhaval2404/colorpicker Expand file tree Collapse file tree 8 files changed +11
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<resources >
22
33 <!-- Base application theme. -->
4- <style name =" AppTheme" parent =" Theme.MaterialComponents.Light.DarkActionBar " >
4+ <style name =" AppTheme" parent =" Theme.MaterialComponents.DayNight " >
55 <!-- Customize your theme here. -->
66 <item name =" colorPrimary" >@color/colorPrimary</item >
77 <item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ class ColorPickerDialog private constructor(
193193 fun show () {
194194
195195 // Create Dialog Instance
196- val dialog = AlertDialog .Builder (context, R .style. DialogStyle )
196+ val dialog = AlertDialog .Builder (context)
197197 .setTitle(title)
198198 .setNegativeButton(negativeButton, null )
199199
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ class MaterialColorPickerDialog private constructor(
249249 */
250250 fun show () {
251251 // Create Dialog Instance
252- val dialog = AlertDialog .Builder (context, R .style. DialogStyle )
252+ val dialog = AlertDialog .Builder (context)
253253 .setTitle(title)
254254 .setNegativeButton(negativeButton, null )
255255
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+
4+ <color name =" positiveButtonTextColor" >@color/grey_100</color >
5+ <color name =" negativeButtonTextColor" >@color/grey_100</color >
6+
7+ </resources >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
33
4- <color name =" colorAccent" >@color/deep_orange_500 </color >
4+ <color name =" colorAccent" >@color/grey_800 </color >
55
66 <color name =" colorPointer" >#222222</color >
77
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
3- <style name =" DialogStyle" parent =" Theme.AppCompat.Light.Dialog.Alert" />
43 <style name =" DialogStyle.Button" parent =" Widget.AppCompat.Button.Borderless.Colored" />
54</resources >
You can’t perform that action at this time.
0 commit comments