java - Color Picker with one single Slider -


Hi I am implementing an Android application, but it's offtopic.

I have a slider <...

  testText.setTextColor (0xff000000)  

+ Progress);

But when I am sliding colors, it can be difficult. How do I deliver more harmonic colors to colors?

I think flicker is moving along with you as a hex RGB value combined with base 10 value instead of value

1) Before trying text color, try converting your decimal values ​​into hex

  testText.setTextColor (Integer.valuef (progress, 16));  

Instead of just adding it, pass the value to the text color alpha default F. F (opaque) so that you do not worry about it.

2) Ensure that the color of the text has changed to the handler or the asynchronous function. Apps that try to sync your commands can be flickering. 3) Flicker may need to be aligned with alpha values ​​(FF at the beginning of hex) is messing up with lines, just to ensure in your code, just follow it through your code. .

4) Make sure that you are taken repeatedly, whenever you are not removing the text view, define it as an asynctask or activity controller.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -