public final class

ActionStrip.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.model.ActionStrip.Builder

Overview

A builder of ActionStrip.

Summary

Constructors
publicBuilder()

Creates an empty ActionStrip.Builder instance.

Methods
public ActionStrip.BuilderaddAction(Action action)

Adds an Action to the list.

public ActionStripbuild()

Constructs the ActionStrip defined by this builder.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates an empty ActionStrip.Builder instance.

Methods

public ActionStrip.Builder addAction(Action action)

Adds an Action to the list.

Background colors are not supported on an action inside an ActionStrip.

Primary actions are not supported.

Spans are not supported in the title of the action and will be ignored.

public ActionStrip build()

Constructs the ActionStrip defined by this builder.