November 2018
Intermediate to advanced
1150 pages
24h 11m
English
To be able to add a new grocery item, we need a way to specify its type, and a way to confirm the addition once we have entered the type. There are of course many ways to accomplish this. Let's keep it simple by providing an input field and a submission button. We start by adding a Row component to contain our text field and button, anchor it to the bottom, left, and right of the root Item, by also removing any margin that may have been set by Designer. we set the Row's height to a reasonable amount, such as 64, which is a sufficient height for a toolbar that contains touch controls.

Then, we add two controls, a TextField ...
Read now
Unlock full access