android - Skew custom layout -
i've got custom layout , skew this:
@override protected void ondraw(canvas canvas) { canvas.skew(0f, 0.2f); super.ondraw(canvas); }
although, want skew other side (i want right higher left) decided flip horizontally this
@override protected void ondraw(canvas canvas) { canvas.scale(-1f, 1f, super.getwidth() * 0.5f, super.getheight() * 0.5f); canvas.skew(0f, 0.2f); super.ondraw(canvas); }
but button, can see below, flips too. can suggest me how flip layout not children inside?
Comments
Post a Comment