Drag a Button component onto the Viewer and change the Button's Text attribute to "Red" and make its BackgroundColor red.There's also a component you don't see: you use a HorizontalArrangement to make the three color buttons line up side by side.That's just a canvas without a background image. This canvas has a BackgroundImage, which is this kitty from the HelloPurr tutorial. Three Buttons for selecting red, blue, or green paint, and another button for clearing the drawing.You'll use these components to make PaintPot: To reiterate, the name and the title of Screen1 are initially the same, but you can change the title if you want. However, you can change it, as you're doing for PaintPot. The Title starts out being "Screen1", which is what you used in HelloPurr. Title is a property of the Screen component. The Title property of the screen, which is what you'll see in the mobile device's title bar. You can't change the name of the first Screen component in the current version of App Inventor but you can create additional screens with names of anything you should choose. You'll see it listed in the Components panel in the Designer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |