Android Question Unwanted Pixel appearance at the corners

Scantech

Well-Known Member
Licensed User
Longtime 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: 220
  • Pic.jpg
    Pic.jpg
    292.8 KB · Views: 236

klaus

Expert
Licensed User
Longtime 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
Longtime User
Here you go. Emulator will be a great way to see it or 480x800 screen resolution
 

Attachments

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