Android Programming Tutorials

(Romina) #1
A Restaurant In Your Own Home

Extra Credit................................................................................................


Here are some things you can try beyond those step-by-step instructions:



  • Add other widgets to the app widget layout, such as a logo icon

  • Reduce the font size of the name and add a second TextView to the


layout to show the restaurant's address



  • Experiment with other widget sizes instead of the 4x1 cell format


used in the widget metadata


Further Reading........................................................................................


App widgets are covered in a chapter of The Busy Coder's Guide to


Advanced Android Development.


324
Free download pdf