workflow tweak:
- only sort colors in color analysis result, do not do it in other cases
(e.g. the user tries to add a color into a palette manually)
remove the incorrect fade-in effect on colors bar in palette edit view
refactor on PaletteData class to remove unused constructor and add a new
function "contains(int color)" used to check whether a color has been
added in the palette data
works
- add a new method "replaceAt()" to replace a color at indicated
location
- improve the toString() output to have a better colors info
- remove "add color into palette" action and add "restore" action
instead
- add an OnColorEditViewChangedListener in ColorEditView for further
functionality tweak
works:
- tweak the selection logic in ColorRow
- link the selected color in ColorRow with the ColorEditView, so when
the user change the color in ColorEditView, the selected color will also
be changed