xr glimmer

  
สิ่งที่ต้องทำ
อัปเดตล่าสุด รุ่นที่เสถียร รุ่นที่อาจได้รับการเผยแพร่ รุ่นเบต้า รุ่นอัลฟ่า
5 พฤศจิกายน 2025 - - - 1.0.0-alpha01

การประกาศทรัพยากร Dependency

หากต้องการเพิ่มทรัพยากร Dependency ใน xr glimmer คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์ อ่านข้อมูลเพิ่มเติมได้ที่ที่เก็บ Maven ของ Google

เพิ่มทรัพยากร Dependency สำหรับอาร์ติแฟกต์ที่ต้องการในไฟล์ build.gradle สำหรับ แอปหรือโมดูล

ดึงดูด

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"
}

ดูข้อมูลเพิ่มเติมเกี่ยวกับการพึ่งพาได้ที่เพิ่มการพึ่งพาบิลด์

ความคิดเห็น

ความคิดเห็นของคุณช่วยเราปรับปรุง Jetpack ให้ดียิ่งขึ้น โปรดแจ้งให้เราทราบหากพบปัญหาใหม่หรือมี ไอเดียในการปรับปรุงไลบรารีนี้ โปรดดูปัญหาที่มีอยู่ ในไลบรารีนี้ก่อนสร้างปัญหาใหม่ คุณสามารถโหวตปัญหาที่มีอยู่ได้โดย คลิกปุ่มดาว

สร้างปัญหาใหม่

ดูข้อมูลเพิ่มเติมได้ในเอกสารประกอบของเครื่องมือติดตามปัญหา

เวอร์ชัน 1.0.0-alpha01

5 พฤศจิกายน 2025

androidx.xr.glimmer:glimmer:1.0.0-alpha01 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha01 มีการเปลี่ยนแปลงเหล่านี้

ฟีเจอร์ใหม่

  • การเปิดตัว Jetpack Glimmer เวอร์ชันแรกสำหรับนักพัฒนา ซึ่งเป็นภาษาการออกแบบและคอมโพเนนต์ UI สำหรับการสร้างประสบการณ์ Android XR ออกแบบมาเพื่อความชัดเจน ความสามารถในการอ่าน และลดสิ่งรบกวนสมาธิด้วยการจัดรูปแบบที่เรียบง่าย โฟกัสที่แตกต่าง และระดับความสูงที่เพิ่มประสิทธิภาพ
  • เริ่มต้นใช้งานคอมโพเนนต์ Glimmer ชุดแรก
    • ข้อความ
    • ไอคอน
    • ชิปชื่อ
    • บัตรต่างๆ
    • รายการ
    • ปุ่ม
    • กอง (อยู่ระหว่างการพัฒนา)