added in version 26.1.0
belongs to Maven artifact


public class WearableNavigationDrawerView
extends WearableDrawerView

   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout

Ease of use class for creating a Wearable navigation drawer. This can be used with WearableDrawerLayout to create a drawer for users to easily navigate a wearable app.

There are two ways this information may be presented: as a single page and as multiple pages. The single page navigation drawer will display 1-7 items to the user representing different navigation verticals. If more than 7 items are provided to a single page navigation drawer, the navigation drawer will be displayed as empty. The multiple page navigation drawer will display 1 or more pages to the user, each representing different navigation verticals.

The developer may specify which style to use with the app:navigationStyle custom attribute. If not specified, singlePage will be used as the default.


Nested classes

interface WearableNavigationDrawerView.OnItemSelectedListener

Listener which is notified when the user selects an item. 

class WearableNavigationDrawerView.WearableNavigationDrawerAdapter

Adapter for specifying the contents of WearableNavigationDrawer. 



Multi-page navigation drawer style.


Single page navigation drawer style.

Inherited constants

From class
From class android.view.ViewGroup
From class android.view.View