3 Sided Cube: Android Development Course- Week 2

This week we learned how to make a list view to display a scrollable list of items and create layouts. We also learned about keyboard shortcuts to quicken our workflow methods. CTRL + SPACE gives suggestions on the variable you are typing and documentation for that selection. ALT + ENTER is a quick fix shortcut that can do things like importing missing classes. CTRL + ENTER opens the Generate menu which allows you to override methods or generate getters and setters. CTRL + P shows what parameters a method takes.

Layouts use xml to arrange views on screen, it is very similar to html. App development uses dp (density pixels) for measurement as it scales between different devices.

To display a list we used an array adapter and then added some parameters to this in order to be able to get information from and manipulate the list items later.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s