slides :: labGeoQuiz :: bc01
Layouts, Toasts, Naming Conventions
- Layouts
- - from developer.androd.com. Describes what a layout is and it's relationship to Activities.
- Menus
- - from developer.androd.com. Describes what a menu is and it's relationship to options menus & context menus.
- Toasts
- - from developer.androd.com. Describes the syntax of a toast call and its parameters.
- Field naming convention
- - from developer.androd.com. Expectations for naming fields in your Android classes.
- Inflating layouts
- - when you inflate a layout, android places any views with an id in a table that you can reference.
Resources
- String Resources
- - from developer.androd.com. What is a String resource and what are the advantages of such resources -- as opposed to hard-coding.
Also facilitates localization.
- snapshot of res directory
- - showing the res dirctory and its contents.
- defined in developer.android.com
- strings.xml
- - typical string file.
- colors.xml
- - typical colors file.
- dimens.xml
- - typical dimens file.
- bools.xml
- - typical bools file.
- dp versus sp
- - density independent pixels versus scale-independent pixels.