Step 2: Changing Canvas Properties

Goal:


Now that we have all of our components on the screen, we need to make sure they are all the right size so they look good on the screen when we run the app.

We also need to rename them so that they are easier to find when we begin to program the app.

Steps:

  1. In the Components List, select Canvas1.
  2. In Properties, locate Height, click the box below it.
  3. In the Window that appears, select “Fill parent”.
  4. In Properties, locate Width, click the box below it.
  5. In the Window that appears, select “Fill parent”.
  6. In Properties, locate BackgroundColor, and change it to black.

Code: