Change Nine Patch Image Color At Runtime Android
Good day.I want to change the actual 9 patch png image color during the runtime.The reason i need,is that i want to let user customize the actual color of image.My 9 patch image is
Solution 1:
Ok i have managed to do it slightly in other way.Here what you can do.
ninePatchImageViewHolder.setColorFilter(Color.parseColor(s), PorterDuff.Mode.SRC_ATOP);
At this point it will not change the whole background and keep the bubble lets say in same color,but will in correct way change the actual bubble color
Post a Comment for "Change Nine Patch Image Color At Runtime Android"