
Activity overlapping pixel problem
Hello,
i have a Problem with the painting. The developer who coded that peice of code before me implemented a bug. If i have 2 activities on the same time, the size fo them do not match. 1 of the 2 is always same size + 1 pixel on top or below. The used shape is always the same.
Code:
public static RootAShape createFreieZeitraeumePruefenShape() {
RootAShape root = new RootAShape();
PlaceRect pr = new AbsRect( new AtStart( 0 ), new AtStart( 1 ), new AtEnd( 0 ), new AtEnd( 0 ) );
FillAShape backgroundShape = new FillAShape( "freie", new Rectangle( 0, 0, 1, 1 ), pr, new Color( 56, 72, 96 ), GfxUtil.AA_HINT_OFF );
root.addSubShape( backgroundShape );
return root;
}
The Problem can be seen at the hardcopy/screenshot.
Maybe u can say me the Attribute with that i can manage the overpainting or the size-difference?!