Training project of the Udacity "Android Basics: User Input" course. App allows to keep scoring in the American Football game.
This project has been created in order to practice with different visual controls which maintain User Input. Moreover I have not restrained myself and have implement some other features in order to make app better. In this app I have practiced with:
- Creating Layouts via editing xml.
- Binding listeners and views in the java sources.
- Using Fragments for equivalent parts of UI.
- Supporting Multiple Screens.
- Saving/restoring state of App.
- Using Styles.
- Debugging.
- Customizing ArrayAdapter for Spinner.
- Transitions.
I would especially like to note the last point besause as I have known the question "How to customize Spinner and Array Adapter behaviour" is very popular. So I present my point of view how this problem can be solved. There some key features have been implemented:
- Layout for ListItem and DropDownList is distinct from default one. There are only drawables.
- Supplying Promt in Spinner via different layout. It also solves initial item selection problem of Spinner.
- Styling items in the DropDown List.
Copyrights: I have used some graphical resources and there are links to sources: App Icon (CC0 Public Domain)
Logos of NFL teams(Fair Use - because it is an educational project to discover some approaches for solving learning task):
- Buffalo Bills Logo. By Source, Fair use
- Miami Dolphins logo. By Source, Fair use
- New England Patriots logo. By Source, Fair use
- New York Jets logo. By Source, Fair use
- Baltimore Ravens logo. By Source, Fair use
- Cincinnati Bengals logo. By Cincinnati Bengals, Public Domain
- Cleveland Browns logo. By Source (WP:NFCC#4), Fair use
- Pittsburgh Steelers logo. By Brighterorange, Public Domain
- Houston Texans logo. By Source, Fair use
- Indianapolis Colts logo. By Baltimore Colts, Public Domain
- Jacksonville Jaguars logo. By Source, Fair use
- Tennessee Titans logo. By Source, Fair use
- Denver Broncos logo. By Source, Fair use
- Kansas City Chiefs logo. By Source, Fair use
- Los Angeles Chargers logo. By Source, Fair use
- Oakland Raiders logo. By Source, Fair use
Wordmarks:
- Buffalo Bills wordmark. By Buffalo Bills - NFLCommunications.com, Public Domain
- Miami Dolphins wordmark. By Miami Dolphins - NFLCommunications.com, Public Domain
- New England Patriots wordmark. By New England Patriots - This is the version of the wordmark without the "Flying Elvis" head logo normally incorporated at the bottom, as seen at the top of http://www.patriots.com. SVG created using the Trace Bitmap tool in Inkscape., Public Domain
- New York Jets wordmark. By New York Jets - NFLCommunications.com, Public Domain
- Baltimore Ravens wordmark. By Moe Epsilon, Public Domain
- Cincinnati Bengals wordmark. By Cincinnati Bengals - NFLCommunications.com, Public Domain
- Cleveland Browns wordmark. By Drawn by User:LBDesigns, Public Domain
- Pittsburgh Steelers wordmark. By The original uploader was Kalel2007 at English Wikipedia - Transferred from en.wikipedia to Commons., Public Domain
- Houston Texans wordmark. By Houston Texans, Public Domain
- Indianapolis Colts wordmark. By Indianapolis Colts, Public Domain
- Jacksonville Jaguars wordmark. By Jacksonville Jaguars - NFLCommunications.com, Public Domain
- Tennessee Titans wordmark. By Tennessee Titans, Public Domain
- Denver Broncos wordmark. By Denver Broncos - NFLCommunications.com, Public Domain
- Kansas City Chiefs wordmark. By Kansas City Chiefs - NFLCommunications.com, Public Domain
- Los Angeles Chargers wordmark. By San Diego/Los Angeles Chargers - File:San Diego Chargers wordmark.svg, with the city named removed., Public Domain
- Oakland Raiders wordmark. By Oakland Raiders - NFLCommunications.com, Public Domain