开发者

android how to work with color picker Dialog

开发者 https://www.devze.com 2023-03-24 13:44 出处:网络
I have an app where i am able to draw on screen. I want option menu color chooser option should be there. by choosing color from there will able to draw using that c开发者_JAVA技巧olor.

I have an app where i am able to draw on screen. I want option menu color chooser option should be there. by choosing color from there will able to draw using that c开发者_JAVA技巧olor. So i want to put a colorPicker dialog there how can I use that plz give me some sample example.

(I go through ColorPicker available in android developer resources but I want some customize and how to use within an avtivity)

Thank you


I like this one most: http://code.google.com/p/android-color-picker/


For those who want a fragment solution, I have made a fork of android-color-picker where DialogFragment is used and is re-created on configuration change. Here's the link: https://github.com/lomza/android-color-picker

0

精彩评论

暂无评论...
验证码 换一张
取 消