English subtitles

← Wide Detail Fragment - Developing Android Apps

Get Embed Code
10 Languages

Showing Revision 13 created 05/25/2016 by Udacity Robot.

  1. We build a wider detail
    fragment layout,
  2. using a horizontal LinearLayout
  3. composed of three vertical
  4. This is what the XML code looks like.
  5. And you can see it linked below.
  6. Then we use layout aliasing
    to override
  7. the fragment_detail layout.
  8. In the values-land
    and values-sw600dp folders,
  9. we create res.xml files.
  10. In both files, we alias
  11. through fragment detail wide.
  12. And now we have a more
    responsive layout to wider screens.