Gambar

Penampung untuk serangkaian resource gambar terkait. Setiap kali pemicu yang ditentukan terjadi, gambar baru akan muncul.

Diperkenalkan di Wear OS 4.

Sintaksis

<Images change="TAP | ON_VISIBLE | ON_NEXT_SECOND |
        ON_NEXT_MINUTE | ON_NEXT_HOUR"
>
   
<!-- One or more image elements appear here. -->
   
<Image ... />
</Images>

Atribut

Elemen Images memiliki satu atribut opsional, change. Atribut ini menentukan apa yang harus terjadi agar gambar baru (dari kumpulan gambar) muncul di tampilan jam:

* `TAP` (default): The change occurs when the user taps on the element.
* `ON_VISIBLE`: The change occurs when the element next becomes visible.
* `ON_NEXT_SECOND`: The change occurs when the next second begins.
* `ON_NEXT_MINUTE`: The change occurs when the next minute begins.
* `ON_NEXT_HOUR`: The change occurs when the next hour begins.

Elemen dalam

Elemen Images berisi satu atau beberapa instance Image sebagai elemen dalam.

Tidak ada rekomendasi untuk saat ini.

Coba ke Akun Google Anda.