Skip to content
0:00 / 0:00

#android#darktheme#gesturenavigation

Dark theme & gesture navigation (Google I/O'19)

Android Developers

1.4M subscribers • 20 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Chris Banes, Nick Butcher, Rohan Shah
  • Made by the vendor. The company whose product it covers made or sponsored it.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

43K views7 years ago1 recommendation

Mobile developmentAndroid and Jetpack ComposeMobile app architecture

Chris Banes, Nick Butcher, and Rohan Shah explain how to implement dark theme and gesture navigation in Android Q.

Learn Android Q's new customization and navigation features, understand how to make your apps work seamlessly with the system UI, and get familiar with new usability options. Watch more #io19 here: Android & Play at Google I/O 2019 Playlist → goo.gle/2GRWlQh Google I/O 2019 All Sessions Playlist → goo.gle/io19allsessions Learn more on the I/O Website → google.com/io Subscribe to the Android Developers Channel → goo.gle/AndroidDevs Get started at → developer.android.com/ Speaker(s): Chris Banes, Nick Butcher, Rohan Shah T8885B event: Google I/O 2019; re_ty: Publish; fullname: Chris Banes, Nick Butcher, Rohan Shah;

Why it's here

1 person recommends this

What people say. Recommended as a reference for implementing edge-to-edge layouts and handling WindowInsets in Android.

Moments people linked to

hardysimon Stack Overflow • Recommends

I'm trying to get edge-to-edge (link to this video) working correctly on API 21 up to 29. I'm using this on my v27\themes.xml : <item name="android:windowLightNavigationBar">true</item> <item name="android:navigationBarColor">@android:color/transparent</item> And this in my Activity: override fun onWindowFocusChanged(hasFocus: Boolean) { super.onWindowFocusChanged(hasFocus) if (hasFocus) { window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or View.SYSTEM_UI_FLAG_LAYOUT_STABLE } } Plus, I'm setting android:fitsSystemWindows=true on my AppBarLayout . With that in place, it looks fine on API >= 27 where the content scrolls behind the now transparent navigati…
6View the answer