Android Question Unwanted Pixel appearance at the corners

Scantech

Well-Known Member
Licensed User
Why does the corners have different color dots?

I can't figure this out yet.

Click "not used" button to display the large gauge
 

Attachments

  • xGaugesDemo.zip
    73.6 KB · Views: 69
  • Pic.jpg
    Pic.jpg
    292.8 KB · Views: 114

klaus

Expert
Licensed User
It depends also on the device screen resolution.
This is the corner on my Samsung Galaxy S8.

upload_2019-4-16_19-52-54.png
upload_2019-4-16_19-53-40.png


I suppose that the problem is due to the anti aliasing.
From what I know, it cannot be disabled.
BitmapCreator has a ReplaceSemiTransparentPixels(NewColor As Int, Rect As B4XRect) method.
Not sure if it will solve your problem.
 
Upvote 0

Scantech

Well-Known Member
Licensed User
Here you go. Emulator will be a great way to see it or 480x800 screen resolution
 

Attachments

  • SampleDotsShown.zip
    9.9 KB · Views: 47
Upvote 0
Top