Tabbed SlidingPaneLayout (Primary/Detail) using the Navigation Component Library ➡️🗔✨

Basic primary/detail SlidingPaneLayout view wrapped in a ViewPager2
New Project Dialog Samples
  • Primary/Detail navigation (we called it Master/Detail back then 😏) is a bit cooler now. Foldables and responsive layouts are more popular, the New Project dialog has a Responsive Activity and the Primary/Detail code has been rewritten to use the Navigation component.
  • The Navigation component docs have been significantly expanded.
  • A new Two-pane layout doc was added, and the SlidingPaneLayout ViewGroup has been updated.
  • ViewPager was deprecated for ViewPager2

Sliding pane what?

Tabs 📑

Navigation 🚢

Back button 🔙




Droid Disciple

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Web App (Beanstalk) Migration from AWS to Azure (Using App service Migration Assistant)

Compatibility Report Image

Electrical Systems are Family Trees

Getting Excited about Events

VFX — Adding player thrusters and visual player damage

Dodge Uconnect Software Update

Under the hood webpack: core library behind the event-driven architecture

Initial Tools & Languages Needed Before Becoming a Web Developer

Principles of Successful Software Engineering Teams

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniel Wilson

Daniel Wilson

Droid Disciple

More from Medium

Integration of Huawei Account Kit in Attendance Tracker Android app (Kotlin) — Part 1

Android Spotless Easy Setup

Paging3 with Room Persistance

Monitoring Network Bandwidth Usage in the Doubtnut app.