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

Developing for Android & Large Screens: Android...

Developing for Android & Large Screens: Android DevSummit 2018

Kenneth Ford

November 07, 2018
Tweet

More Decks by Kenneth Ford

Other Decks in Programming

Transcript

  1. • Portrait first • Touch first • Full Screen first

    • Portrait & Landscape • Larger Screens • Different medium brings more focuses • Landscape first • Window resizing & Multi-window environments • New 1st class input methods
  2. Design • Think about larger screens again! • Build layouts

    for both orientations ◦ Not all platforms are portrait first
  3. Design • Think about larger screens again! • Build layouts

    for both orientations ◦ Not all platforms are portrait first • Design for input mediums other than touch
  4. Design • Think about larger screens again! • Build layouts

    for both orientations ◦ Not all platforms are portrait first • Design for input mediums other than touch ◦ UX patterns are different for non-touch devices
  5. yourView.setOnContextClickListener { //context-click action } yourView.setOnHoverListener{ view, motionEvent -> when

    (motionEvent.actionMasked) { MotionEvent.ACTION_HOVER_ENTER -> { //UI Change } MotionEvent.ACTION_HOVER_EXIT -> { //revert } ... } }
  6. Design • Think about larger screens again! • Build layouts

    for both orientations ◦ Not all platforms are portrait first • Design for input mediums other than touch ◦ UX patterns are different for non-touch devices • How would your users expect your app to behave?
  7. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges
  8. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this!
  9. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this! • Your app will not always be in focus
  10. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this! • Your app will not always be in focus ◦ Make sure that content is still visible/playing even if you’re not the focused app
  11. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this! • Your app will not always be in focus ◦ Make sure that content is still visible/playing even if you’re not the focused app • Take advantage of the features on these different platforms!
  12. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this! • Your app will not always be in focus ◦ Make sure that content is still visible/playing even if you’re not the focused app • Take advantage of the features on these different platforms! ◦ Drag and Drop
  13. Window Management • No running from rotation! • Configuration changes

    are more important than ever ◦ Resizing & Multi-window bring new challenges ◦ Jetpack helps with this! • Your app will not always be in focus ◦ Make sure that content is still visible/playing even if you’re not the focused app • Take advantage of the features on these different platforms! ◦ Drag and Drop ◦ Stylus & other input capabilities
  14. Tooling • Android Studio Integrations ◦ Lint additions coming soon

    ◦ More to come! • Chrome OS Emulator ◦ Preview • ADB over USB ◦ HP Chromebook X2 & Pixelbook ◦ Others require ADB over Wifi • Android Studio on Chrome OS