Close Menu
Nekopoi apk

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    What Is OpenAI’s Sora Slop App For, Exactly?

    October 19, 2025

    Aplikasi Nekopoi VS Aplikasi Hentai [ Aplikasi Mana yang Terbaik di Tahun 2025]

    October 18, 2025

    OpenAI Blocks Videos of Martin Luther King Jr. After Racist Depictions

    October 17, 2025
    Facebook X (Twitter) Instagram
    Nekopoi apk
    Get the NekoPoi APK
    • 🏠 Home
    • 📲 For iOS
    • 💻 For pc
    • 🔃 Old Version
    • 📝 Latest Updates
    Nekopoi apk
    Home»Latest Updates»Jetpack WindowManager 1.5 is stable
    Latest Updates

    Jetpack WindowManager 1.5 is stable

    David I. MeeksBy David I. MeeksOctober 10, 2025No Comments4 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    Jetpack WindowManager 1.5 is stable

    We’re excited to announce that Jetpack WindowManager 1.5.0 is now stable!

    This release builds on the strong foundation of adaptability in WindowManager, making it even easier to create polished, adaptive UIs that look great on all screen sizes. As the Android ecosystem continues to grow, users are engaging with apps on a wider variety of devices than ever before: from phones and foldables to tablets, connected displays, Chromebooks, and even car displays in parked mode.

    WindowManager 1.5 focuses on providing better tools for this diverse device environment.

    This stable release introduces new breakpoints for very large screens, enhances the activity embedding API, and provides more flexibility for calculating window metrics.

    New window size classes: Large and Extra-large

    The biggest update in 1.5 is the addition of two new width window size classes: Large and Extra-large.

    Window size classes are our official, opinionated set of viewport breakpoints that help you design and develop adaptive layouts. With 1.5, we’re extending this guidance for screens that go beyond typical tablets.

    Here are the new width breakpoints:

    Jetpack WindowManager 1.5 is stable

    The different window size classes based on display width. 

    Why are these important?

    Starting with Android 16 QPR1 Beta 2, Android supports connected displays, enabling users to attach an external display to their device and transform it into a desktop-like tool with a large screen.

    Phone connected to an external display, with a desktop session on the external display. 

    With this new feature available, opinionated guidance to include bigger displays is crucial. 

    On these very large surfaces, simply scaling up a tablet’s Expanded
    layout isn’t always the best user experience. An email client, for example, might comfortably show two panes (a mailbox and a message) in the Expanded window size class. But on an
    Extra-large desktop monitor, the email client could elegantly display three or even four panes—perhaps a mailbox, a message list, the full message content, and a calendar/tasks panel, all at once.

    By providing official breakpoints for very large display sizes, WindowManager 1.5 gives you a clear signal to
    introduce layouts specifically designed for a productive, information-dense desktop experience.

    The window size classes can be calculated using computeWindowSizeClass(), which is an androidx.window.core.layout library extension function that extends the Set type. 

    To include the new window size classes in your project, simply call the function from the WindowSizeClass.BREAKPOINTS_V2 set instead of WindowSizeClass.BREAKPOINTS_V1:

    val currentWindowMetrics =

        WindowMetricsCalculator.getOrCreate()

        .computeCurrentWindowMetrics(LocalContext.current)

    val sizeClass = WindowSizeClass.BREAKPOINTS_V2

        .computeWindowSizeClass(currentWindowMetrics)


    Then apply the correct layout when you’re sure your app has at least that much space:

    if(sizeClass.isWidthAtLeastBreakpoint(

        WindowSizeClass.WIDTH_DP_LARGE_LOWER_BOUND)){

        …

    // window is at least 1200 dp wide

    }

    The Compose Material 3 Adaptive library helps you create adaptive UIs that adapt themselves automatically according to the current window configurations like window size classes or device postures. 

    The good news is that the library is already up to date with the new breakpoints! Starting from version
    1.2
    (now in Release Candidate stage), the default pane scaffold directive functions support Large and Extra-large window width size classes.

    You only need to opt-in by declaring in your Gradle build file that you want to use the new breakpoints:

    currentWindowAdaptiveInfo(

        supportLargeAndXLargeWidth = true)

    • Activity embedding — auto-save and restore: WindowManager can now automatically save and restore the state of your activity embedding splits. This helps preserve the user’s layout across process recreation, leading to a more stable and consistent experience. Developers don’t have to save and restore the state manually anymore, but they can simply opt-in auto by setting the EmbeddingConfiguration#isAutoSaveEmbeddingState property.

    To start using the new Large and Extra-large size classes and other 1.5 features in your Android projects, update your app dependencies in build.gradle.kts to the latest stable version:

    WindowManager 1.5 is another step forward for creating fully adaptive apps that run across Android form factors. Check out the official release notes for a complete list of changes and bug fixes.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    David I. Meeks
    • Website

    Related Posts

    What Is OpenAI’s Sora Slop App For, Exactly?

    October 19, 2025

    OpenAI Blocks Videos of Martin Luther King Jr. After Racist Depictions

    October 17, 2025

    Letter Flow Taps Liquid Glass for a Calming Word Game Experience

    October 17, 2025

    Meet the founder making breast cancer awareness simple and accessible

    October 16, 2025

    Guaranteeing Feature Combinations With CameraX 1.5

    October 15, 2025

    Apple Unveils New iPad Pro, MacBook Pro, Vision Pro With M5 Chip

    October 15, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Latest Posts

    What Is OpenAI’s Sora Slop App For, Exactly?

    October 19, 2025

    Aplikasi Nekopoi VS Aplikasi Hentai [ Aplikasi Mana yang Terbaik di Tahun 2025]

    October 18, 2025

    OpenAI Blocks Videos of Martin Luther King Jr. After Racist Depictions

    October 17, 2025

    Letter Flow Taps Liquid Glass for a Calming Word Game Experience

    October 17, 2025
    © 2025 NekoPoiAPK.online – All Rights Reserved
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    • DMCA

    Type above and press Enter to search. Press Esc to cancel.