The Glass Explorer Edition SDK is deprecated. This documentation remains as a historical reference.
com.google.android.glass.widget
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.
[null,null,["Last updated 2024-07-10 UTC."],[[["The Glass Development Kit (GDK) was added in API level XE12 and provides UI widgets for creating Glassware."],["It offers classes like `CardBuilder`, `CardScrollAdapter`, `CardScrollView`, and `Slider` for building cards and interactive elements."],["Developers can utilize different slider appearances such as `Scroller`, `Determinate`, `Indeterminate`, and `GracePeriod` to enhance user experience."],["The GDK includes interfaces for determinate, indeterminate, and grace period sliders, along with a listener for grace period events."],["Enums like `CardBuilder.Layout` and `CardScrollView.Animation` allow for customization of card layouts and animations."]]],[]]