I have the following bitmap with 2 frames:
The bitmap has a size of 26x52 (2 frames each 26x26).
If I use this bitmap with an OnOff button and set the “size” to 26, 26, I end up with the following rendered button
As you can see there is a thin line at the very bottom which seems to be coming from the next frame (if you look at the original file, there is no bleeding: frame 2 does not “bleed” into frame 1 so I don’t think it is user error).
If on the other end, I define a 2x scaled bitmap (size is 52x104) and declare it with a scale-factor 2 in the xml file, as you can see the thin line does not show up.
Any idea why this is happening? I am definitely not expecting this behavior.