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

What's new in Android O WindowManager

What's new in Android O WindowManager

Keishin Yokomaku

April 13, 2017
Tweet

More Decks by Keishin Yokomaku

Other Decks in Technology

Transcript

  1. What’s new in Android O WindowManager About Me ▸ Keishin

    Yokomaku ▸ Drivemode, Inc. / Principal Engineer ▸ KeithYokoma: GitHub / Twitter / Qiita / Tumblr / Stack Overflow ▸ Books: Android Academia / Grimoire of Android / Nanairo Android ▸ Fun: Gymnastics / Cycling / Photography / Motorsport ▸ Today’s Quote: “·ɹ͔ɹͤɹͯ” 2
  2. 3

  3. 4

  4. 5

  5. 7

  6. 8

  7. 9

  8. What’s new in Android O WindowManager Deprecated ▸ Drawing views

    beyond the keyguard is not allowed at all. ▸ Layers are much simpler than before. ▸ New layer “TYPE_APPLICATION_OVERLAY” added. ▸ System will prioritize the app using “TYPE_APPLICATION_OVERLAY”. ▸ System may change the position, size, or visibility of the view at any time. 10
  9. What’s new in Android O WindowManager What is the result

    of using deprecated layers? ▸ Still we can draw views. ▸ But touch events are not delivered to those views. ▸ Some more changes in future releases? 11
  10. What’s new in Android O WindowManager Follow up ▸ It’s

    more like a public API than before. ▸ Simplified and consolidated. ▸ System may have a chance to take controls of relocating/resizing/hiding views. 12
  11. What’s new in Android O WindowManager More information about WindowManager

    ▸ Colorful Android ▸ ٕज़ॻయ2 from TechBooster ▸ URL: https://techbooster.github.io/tbf02/ ▸ Booth: https://booth.pm/ja/items/488337 13