[Android Apps and Games] Abudabilibre:
Hello!

I have done a new pattern. It is some kind of engineering/architecture box. The problem is that I´m not good coding but I have tested It in my Note 8 and It works fine so I would like to share It.

width = LN.getWidth();
height = LN.getHeight();
scale = LN.getScale();
if ( scale > 1) { scale = 1;}
margin = 5;

Main_box_h = ( 0.20 * height )* scale;
Main_box_w = ( width-(2 * margin) ) * scale;
LN.setStrokeWidth(4) ;

/* Main box */
LN.drawLine(margin, margin, width - margin, margin);
LN.drawLine(margin, height - margin, width - margin, height -margin);
LN.drawLine(margin, margin, margin, height -margin);
LN.drawLine(width - margin, margin, width - margin, height - margin);

LN.drawLine(width - (Main_box_w + margin), height - (Main_box_h + margin), width - margin, height - (Main_box_h + margin));
LN.drawLine(width - (Main_box_w + margin), height - margin, width - margin, height - margin);
LN.drawLine(width - (Main_box_w + margin), height - (Main_box_h + margin), width - (Main_box_w + margin),height - margin);
LN.drawLine(width - margin, height - (Main_box_h + margin), width - margin, height - margin);

/* Inner H lines */

LN.drawLine(width - (Main_box_w + margin), height - ((0.5 * Main_box_h) + margin), width - margin, height - ((0.5 * Main_box_h) + margin));

LN.drawLine(width - (Main_box_w + margin), height - ((0.8 * Main_box_h) + margin), width - (Main_box_w * 0.5) - margin, height - ((0.8 * Main_box_h) + margin));
LN.drawLine(width - (Main_box_w + margin), height - ((0.65 * Main_box_h) + margin), width - (Main_box_w * 0.5) - margin, height - ((0.65 * Main_box_h) + margin));
LN.drawLine(width - ((Main_box_w * 0.35) + margin), height - ((0.25 * Main_box_h) + margin), width - margin, height - ((0.25 * Main_box_h) + margin));

/* Inner V lines */
LN.drawLine(width - (Main_box_w * 0.85) - margin, height - (Main_box_h + margin), width - (Main_box_w * 0.85) - margin, height - margin);

LN.drawLine(width - (Main_box_w * 0.7) - margin, height - (Main_box_h + margin), width - (Main_box_w * 0.7) - margin, height - (Main_box_h * 0.5) - margin);
LN.drawLine(width - (Main_box_w * 0.5) - margin, height - (Main_box_h + margin), width - (Main_box_w * 0.5) - margin, height - (Main_box_h * 0.5) - margin);

LN.drawLine(width - (Main_box_w * 0.15) - margin, height - ((0.25 * Main_box_h) + margin), width - (Main_box_w * 0.15) - margin, height - margin);
LN.drawLine(width - (Main_box_w * 0.35) - margin, height - (Main_box_h + margin), width - (Main_box_w * 0.35) - margin, height - margin);

/* TEXT */

LN.setTextSize(20 * scale);

LN.drawText( "Drawn" , width - Main_box_w - margin + 5 , height - ( 0.8 * Main_box_h) + margin + 10);
LN.drawText( "Reviewed" , width - Main_box_w - margin + 5 , height - (0.65 * Main_box_h) + margin + 10);
LN.drawText( "Escale" , width - Main_box_w - margin + 5 , height - (0.45 * Main_box_h) + margin + 10);
LN.drawText( "Date" , width - (0.85*Main_box_w) - margin + 5 , height - (0.95 * Main_box_h) + margin +10);
LN.drawText( "Name" , width - (0.7*Main_box_w) - margin + 5 , height - (0.95 * Main_box_h) + margin +10);
LN.drawText( "Signature" , width - (0.50*Main_box_w) - margin + 5 , height - (0.95 * Main_box_h) + margin +10);
LN.drawText( "Title" , width - (0.85*Main_box_w) - margin + 5, height - (0.45 * Main_box_h) + margin + 10);
LN.drawText( "N." , width - (0.15*Main_box_w) - margin + 5, height - (0.25 * Main_box_h) + margin + 10);

There is a problem. Everything is fine with my pattern in the notebook but text and lines shows different scales while previewing (after executing "run" command) so I don´t know if I´m doing something wrong or that´s just normal.

Although images shows text in spanish, code is translated into english.

Feel free to correct the code, I will appreciate.

Greetings