English subtitles

← Untitled

Get Embed Code
4 Languages

Showing Revision 3 created 05/24/2016 by Udacity Robot.

  1. Yep, you got it,
    the aptly named preview Image attribute
  2. is what you need to include if you
    want to preview image for your widget.
  3. Generally, during development,
    you'll be iterating on your widget, and
  4. creating a preview
    image isn't as useful.
  5. After you've finalized your widget,
    you can use the Widget Preview App,
  6. available on Android Emulators to get
    a perfect preview image of your widget.
  7. Then put the image in your
    drawable nodpi folder and
  8. reference it in your app
    widget provider info xml.