The Glass Explorer Edition SDK is deprecated. This documentation remains as a historical reference.
com.google.android.glass.widget
Stay organized with collections
Save and categorize content based on your preferences.
Contains classes for Glass-themed UI widgets.
Interfaces
Slider.Determinate |
A determinate slider that tracks a position from left to right. |
Slider.GracePeriod |
A slider that animates from left to right during the given grace period in
timeInMs and then dismisses itself after running the appropriate callback. |
Slider.GracePeriod.Listener |
Listener call-backs. |
Slider.Indeterminate |
An indeterminate slider that animates continuously to indicate ongoing
but otherwise unknown progress. |
Slider.Scroller |
A scroll slider that indicates the current position within a fixed-size collection. |
Classes
Enums
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["The Glass Development Kit (GDK) provides UI widgets for creating Glass-themed applications, added in API level XE12."],["It includes classes like `CardBuilder` for creating cards, `CardScrollView` for displaying them, and `Slider` for various interactive elements."],["Different slider appearances are available, such as determinate, indeterminate, grace period, and scroller, through inner classes of `Slider`."],["The GDK offers layouts for cards and animations for `CardScrollView` interactions, defined by `CardBuilder.Layout` and `CardScrollView.Animation` enums, respectively."],["Developers can utilize interfaces like `Slider.Determinate`, `Slider.GracePeriod`, `Slider.GracePeriod.Listener`, `Slider.Indeterminate`, and `Slider.Scroller` for implementing specific slider functionalities."]]],[]]