In this next section, we'll finish building the description box by adding the amount and date fields. This will involve using some more complex constraints on the widgets you will be adding, as they will need to be positioned relative to each other. Follow these steps to finish the description box:
- Drag another TextInputLayout into your design and place it somewhere below the Description field. This new box has no constraints as of yet.
- In the Attributes panel, change the ID to amount_layout.
- In the Attributes panel, open the resource editor for layout_width as you did to create the grid_spacer1 resource earlier.
- Create a new resource named input_size_amount, and set its value as 100sp.