Langsung ke konten

Paling sering dikunjungi

Terakhir dikunjungi

navigation

Creating Custom UIs for Wear Devices

On this page

User interfaces for watch apps differ significantly from user interfaces for phone apps. Watch apps should follow the guidelines on the Wear OS by Google design site and implement the UI patterns on that site, which ensure the following:

This lesson provides information about creating attractive, custom UIs, including custom notifications for your watch apps.

Note: We recommend using Android Studio for Wear OS development, as it provides project setup, library inclusion, and packaging conveniences. This training assumes you are using Android Studio.

The Wearable Support Library, which is in the Google Repository in the Android SDK, provides classes that help you implement UI patterns and create layouts that work on round and square Wear OS devices.

Note that the following classes in the Wear support library are deprecated in Wear 2.0:

Lessons

Defining Layouts
Learn how to create layouts that look good on round and square Wear OS devices.
Creating Lists
Learn how to create lists that are optimized for wearable devices.
Showing Confirmations
Learn how to display confirmation animations when users complete actions.
Exiting Full-Screen Activities
Learn how to implement the long-press-to-dismiss UI pattern to exit full-screen activities.
Using the Wear UI Library
Learn how to use the Wear UI Library in your user interfaces.
Wear Navigation and Actions
Learn how to add interactive drawers to your Wear app.
Multi-function Buttons
Learn how to retrieve available multi-function buttons on a device.
Rotary Input
Learn how to add rotary input support to your app's scrollable views.
Creating Input Method Editors
Learn how to support input methods beyond voice.
Using Wrist Gestures
Learn how to enable user interaction with wrist gestures.
Situs ini menggunakan cookies untuk menyimpan preferensi Anda tentang bahasa di situs tertentu dan opsi tampilan.

Dapatkan berita dan tips terbaru dari developer Android yang akan membantu Anda mencapai kesuksesan di Google Play.

* Wajib Diisi

Hore!

Ikuti Google Developers di WeChat

Buka situs ini dalam bahasa ?

Anda meminta halaman dalam bahasa , namun preferensi bahasa untuk situs ini adalah .

Ingin mengubah preferensi bahasa dan mengakses situs ini dalam bahasa ? Jika nanti Anda ingin mengubah preferensi bahasa, gunakan menu bahasa di bagian bawah setiap halaman.

Kelas ini memerlukan tingkat API atau yang lebih tinggi

Dokumen ini tersembunyi karena level API yang Anda pilih untuk dokumentasi ini adalah . Anda dapat mengubah level API dokumentasi dengan pemilih di atas menu navigasi sebelah kiri.

Untuk informasi lebih lanjut tentang menentukan level API yang diperlukan aplikasi Anda, baca Mendukung Versi Platform Yang Berbeda.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)