Skip to content

orioonyx/DualScreenSample

Repository files navigation

Android Dual-Screen Sample

A simple demo project based on SlidingPaneLayout.

SlidingPaneLayout is a control that uses Jetpack Window Manager to adapt to dual-screen and foldable devices.

It can show two panes side-by-side (if there's room), otherwise only the first pane will be shown and the second can be revealed by the user (sliding from the side) or programmatically. It adapts to foldable and dual-screen devices by aligning the panes on either side of the hinge or fold.

Preview ✨

Foldable Device


Single Screen Device


Developed By

License

Copyright 2022 NoKyungEun

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.