Example 4: Add a new widget to hold the new account details form.

Running this example will be identical to the previous version, since we haven't added the new widget to the kv lang file.
Example 5: Render some widgets in the new class.

We make the root of the app the new custom widget, and we add a couple labels to that class to demonstrate a horizontal BoxLayout in action.
Example 6: Render an accounts details form.

We add some meaningful labels and text input boxes, as well as a login button. Running this example renders a form that doesn't do anything and that looks pretty ugly due to the default behavior of the various layouts.
Example 7: Add some heights and size_hints to make the form a little easier on the eyes.
Example 8: Using an AnchorLayout to stick the form to the top of the window.