Files
IntroToWebAuthoring/pages/main.xml
T
Michael Mikovsky fe27093288 Make vertical layout
2025-11-10 11:39:02 -07:00

81 lines
2.7 KiB
XML

<ConstraintLayout>
<BoxView
align_top_to_top="parent"
align_left_to_left="parent"
align_bottom_to_bottom="parent"
align_right_to_right="parent"
width="1200"
height="parent"
>
<ColoredRectView r="60" g="30" b="30" />
</BoxView>
<BoxView
align_top_to_top="parent"
align_left_to_left="parent"
align_bottom_to_bottom="parent"
align_right_to_right="parent"
width="1150"
height="parent"
>
<VerticalLayout>
<BoxView width="parent" height="60" />
<BoxView width="parent" height="30">
<TextView
text="This is a webpage that is NOT made in HTML!"
font_size="30."
/></BoxView>
<!-- First Paragraph -->
<BoxView width="parent" height="60" />
<BoxView height="30">
<TextView
text="Modern web browsers have a function called 'WebAssembly' that runs compiled,"
font_size="30."
/>
</BoxView>
<BoxView height="30">
<TextView
text="high performance code in place of JavaScript. Additionally, there is an element"
font_size="30."
/>
</BoxView>
<BoxView height="30">
<TextView
text="called '<canvas>' that can be used to draw graphics."
font_size="30."
/>
</BoxView>
<!-- Second Paragraph -->
<BoxView width="parent" height="60" />
<BoxView height="30">
<TextView
text="Instead of working on any kind of sane programming language, I have been working"
font_size="30."
/></BoxView>
<BoxView height="30">
<TextView
text="to essentially write my own version of HTML inside WebAssembly. If you open the"
font_size="30."
/></BoxView>
<BoxView height="30">
<TextView
text="browser's developer tools, you will see the very strange looking HTML."
font_size="30."
/></BoxView>
</VerticalLayout>
</BoxView>
<BoxView width="300" height="100"
align_left_to_left="parent"
align_top_to_top="parent"
align_right_to_right="parent"
>
<TextView text="Hello!" font_size="60." />
</BoxView>
</ConstraintLayout>