xr glimmer

  
DO ZROBIENIA
Najnowsza aktualizacja Wersja stabilna Wersja kandydująca do publikacji Wersja beta Wersja Alfa
5 listopada 2025 r. - - - 1.0.0-alpha01

Deklarowanie zależności

Aby dodać zależność od xr-glimmer, musisz dodać repozytorium Google Maven do projektu. Więcej informacji znajdziesz w repozytorium Maven Google.

Dodaj zależności dotyczące potrzebnych artefaktów w pliku build.gradle aplikacji lub modułu:

Odlotowe

dependencies {
    // Use to implement xr glimmers
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer:1.0.0-alpha01"

    // Use to implement xr glimmer complications
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-data-source:1.0.0-alpha01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-data-source-ktx:1.0.0-alpha01"

    // Use to implement a glimmer style and complication editor
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-editor:1.0.0-alpha01"

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and glimmers may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-rendering:1.0.0-alpha01"
}

Kotlin

dependencies {
    // Use to implement xr glimmers
    //TODO: Confirm these dependencies
    implementation("androidx.xr.glimmer:glimmer:1.0.0-alpha01")

    // Use to implement xr glimmer complications
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-data-source:1.0.0-alpha01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-data-source-ktx:1.0.0-alpha01"

    // Use to implement a glimmer style and complication editor
    //TODO: Confirm these dependencies
    implementation("androidx.xr.glimmer:glimmer-editor:1.0.0-alpha01")

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and glimmers may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.xr.glimmer:glimmer-complications-rendering:1.0.0-alpha01"
}

Więcej informacji o zależnościach znajdziesz w artykule Dodawanie zależności kompilacji.

Opinia

Twoja opinia pomoże nam ulepszyć Jetpacka. Jeśli odkryjesz nowe problemy lub masz pomysły na ulepszenie tej biblioteki, daj nam znać. Zanim utworzysz nowy problem, zapoznaj się z dotychczasowymi problemami w tej bibliotece. Możesz dodać swój głos do istniejącego problemu, klikając przycisk gwiazdki.

Tworzenie nowego problemu

Więcej informacji znajdziesz w dokumentacji narzędzia Issue Tracker.

Wersja 1.0.0-alpha01

5 listopada 2025 r.

Publikacja androidx.xr.glimmer:glimmer:1.0.0-alpha01 Wersja 1.0.0-alpha01 zawiera te zmiany.

Nowe funkcje

  • Pierwsza wersja deweloperska Jetpack Glimmer, języka projektowania i komponentów interfejsu do tworzenia aplikacji na Androida XR. Zaprojektowany z myślą o wyrazistości, czytelności i minimalnym rozpraszaniu uwagi dzięki uproszczonej stylistyce, zróżnicowanemu fokusowi i zoptymalizowanemu podniesieniu.
  • Zacznij od naszego początkowego zestawu komponentów Glimmer:
    • Tekst
    • Ikony
    • Elementy tytułu
    • karty;
    • Listy
    • Przyciski
    • Stosy (w trakcie opracowywania)