Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build a User Experience on Android

Build a User Experience on Android

Speaker's notes here : http://bit.ly/and-nav

This is a feedback about user experience creation, following a simple Android app I had to create.
In this presentation I'll tell you about this story, trying to identify the points that will hep you to make the good choice on your own project.

Eyal LEZMY

July 19, 2013
Tweet

More Decks by Eyal LEZMY

Other Decks in Programming

Transcript

  1. Navigation drawer + Content 4 top-level screens minimum Except Settings,

    About & Help by convention Make your action bar more contextual Optional
  2. Very powerful... but complex ! You have to know why

    you are using it! Navigation drawer + Content
  3. Avoid file duplication with aliases <resources> <item name="main" type="layout"> @layout/main_two_panes

    </item> </resources> Multi-screen UI Override main by main_two_panes for large and sw600dp screens
  4. Fork the code Multi-screen UI res/values/bools.xml res/values-large/bools.xml res/values-sw600dp/bools.xml <resources> <bool

    name="isTwoPanes"> true|false </bool> </resources> Boolean values dealing with the filters
  5. Fork the code Multi-screen UI res/values/bools.xml res/values-large/bools.xml res/values-sw600dp/bools.xml <resources> <bool

    name="isTwoPanes"> true|false </bool> </resources> true or false: explicite definition Boolean values dealing with the filters
  6. Fork the code boolean isTwoPanes = res.getBoolean(R.bool.isTwoPanes); if (isTwoPanes) //

    launch a tablet activity else // launch a phone activity Multi-screen UI
  7. Fork the code boolean isTwoPanes = res.getBoolean(R.bool.isTwoPanes); if (isTwoPanes) //

    launch a tablet activity else // launch a phone activity Multi-screen UI We fork the code based on the isTwoPanes value