kittkattNumber1 / android-color-picker

Automatically exported from code.google.com/p/android-color-picker
0 stars 1 forks source link

No black edge on the color plane #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build AmbilWarna on a 64 BIT windows environment
2. Run Ambilwarna color picker on a tablet (the bug only manifests on tablets, 
we reproduced it on Nexus tab and Prestigio Multipad)

What is the expected output? What do you see instead?
The expected output is the color plane with black on the bottom edge. The 
manifestation of the bug is, that there is no dark gradient on the color plane, 
there is just white on the left and solid color on the right, the color gets no 
darker towards the bottom of the color plane.

What version of the product are you using? On what operating system?
Tested on Nexus tab and Prestigio Multipad PMP5197D ultra, built on 64bit 
windows 7. If AmbilWarna is built on Linux or 32 bit windows, the bug does not 
pop out.

Please provide any additional information below.

Original issue reported on code.google.com by rru...@gmail.com on 29 Jan 2013 at 8:12

GoogleCodeExporter commented 9 years ago
As far as I know, the bug is present on Android 3.0 to 3.2 if the hardware 
acceleration is enabled. However, since layerType attribute is already used on 
the color selector square, it should work correctly. I don't know how the app 
build on a different machine could make the result different when run on a same 
device.

Original comment by yukuku on 30 Jan 2013 at 1:51

GoogleCodeExporter commented 9 years ago
I just bought a nexus 4 phone and this exact problem appeared. Android version 
4.2.2. Screenshot is attached. If I can help...

Original comment by snoof...@gmail.com on 31 Mar 2013 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I solved that issue with the following code:

@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void checkVersion(){
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        setLayerType(View.LAYER_TYPE_SOFTWARE, null);
    }
}

Credit properly goes to this StackOverflow question: 
http://stackoverflow.com/questions/12445583/issue-with-composeshader-on-android-
4-1-1

Original comment by stsp...@yahoo.com on 19 Jun 2013 at 7:35

GoogleCodeExporter commented 9 years ago
Iam also facing the same issue ambilwarna is not working in tablet it is 
showing some white insted of black

Original comment by mailto.m...@gmail.com on 11 Dec 2013 at 6:29

GoogleCodeExporter commented 9 years ago
me to facing the same issu

Original comment by mailto.m...@gmail.com on 19 Feb 2014 at 8:57