# CustomTabsIntent.Builder

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:customtabs:28.0.0-alpha1  
Summary:[Ctors](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#pubctors)\|[Methods](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#)  

# CustomTabsIntent.Builder

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public
static
final

class
CustomTabsIntent.Builder
`  
`

extends Object


``


`

|---|-----------------------------------------------------|
| java.lang.Object                                       ||
| ↳ | android.support.customtabs.CustomTabsIntent.Builder |

<br />

*** ** * ** ***

Builder class for[CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent)objects.

## Summary

|                                                                                                                                                                                                                                                                                        ### Public constructors                                                                                                                                                                                                                                                                                        ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#CustomTabsIntent.Builder())`() ` Creates a[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder)object associated with no[CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession).                                                                                                                                                                     |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#CustomTabsIntent.Builder(android.support.customtabs.CustomTabsSession))`(`[CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession)` session) ` Creates a[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder)object associated with a given[CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession). |

|                                                                                                                                                                                                                                                                                                                                                 ### Public methods                                                                                                                                                                                                                                                                                                                                                  ||
|----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[addDefaultShareMenuItem](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#addDefaultShareMenuItem())`() ` Adds a default share item to the menu.                                                                                                                                                                                                                                                                                                                                                                                         |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[addMenuItem](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#addMenuItem(java.lang.String, android.app.PendingIntent))`(String label, `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)` pendingIntent) ` Adds a menu item.                                                                                                                                                                                                                                                                      |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[addToolbarItem](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#addToolbarItem(int, android.graphics.Bitmap, java.lang.String, android.app.PendingIntent))`(int id, `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` icon, String description, `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)` pendingIntent) ` *This method was deprecated in API level 24.1.0. Use CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int\[\], PendingIntent).* |
| ` `[CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent)                 | ` `[build](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#build())`() ` Combines all the options that have been set and returns a new[CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent)object.                                                                                                                                                                                                                                                                                        |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[enableUrlBarHiding](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#enableUrlBarHiding())`() ` Enables the url bar to hide as the user scrolls down on the page.                                                                                                                                                                                                                                                                                                                                                                        |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setActionButton](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setActionButton(android.graphics.Bitmap, java.lang.String, android.app.PendingIntent, boolean))`(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` icon, String description, `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)` pendingIntent, boolean shouldTint) ` Sets the action button that is displayed in the Toolbar.                                                                    |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setActionButton](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setActionButton(android.graphics.Bitmap, java.lang.String, android.app.PendingIntent))`(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` icon, String description, `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)` pendingIntent) ` Sets the action button that is displayed in the Toolbar with default tinting behavior.                                                                   |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setCloseButtonIcon](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setCloseButtonIcon(android.graphics.Bitmap))`(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` icon) ` Sets the Close button icon for the custom tab.                                                                                                                                                                                                                                                                               |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setExitAnimations](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setExitAnimations(android.content.Context, int, int))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, int enterResId, int exitResId) ` Sets the exit animations.                                                                                                                                                                                                                                                         |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setInstantAppsEnabled](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setInstantAppsEnabled(boolean))`(boolean enabled) ` Sets whether Instant Apps is enabled for this Custom Tab.                                                                                                                                                                                                                                                                                                                                                    |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setSecondaryToolbarColor](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setSecondaryToolbarColor(int))`(int color) ` Sets the color of the secondary toolbar.                                                                                                                                                                                                                                                                                                                                                                         |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setSecondaryToolbarViews](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setSecondaryToolbarViews(android.widget.RemoteViews, int[], android.app.PendingIntent))`(`[RemoteViews](https://developer.android.com/reference/android/widget/RemoteViews.html)` remoteViews, int[] clickableIDs, `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)` pendingIntent) ` Sets the remote views displayed in the secondary toolbar in a custom tab.                                                       |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setShowTitle](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setShowTitle(boolean))`(boolean showTitle) ` Sets whether the title should be shown in the custom tab.                                                                                                                                                                                                                                                                                                                                                                    |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setStartAnimations](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setStartAnimations(android.content.Context, int, int))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, int enterResId, int exitResId) ` Sets the start animations.                                                                                                                                                                                                                                                      |
| ` `[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | ` `[setToolbarColor](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setToolbarColor(int))`(int color) ` Sets the toolbar color.                                                                                                                                                                                                                                                                                                                                                                                                            |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Public constructors

### CustomTabsIntent.Builder

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder ()
```

Creates a[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder)object associated with no[CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession).

<br />

### CustomTabsIntent.Builder

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder (CustomTabsSession session)
```

Creates a[CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder)object associated with a given[CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession). Guarantees that the[Intent](https://developer.android.com/reference/android/content/Intent.html)will be sent to the same component as the one the session is associated with.

<br />

|                                     Parameters                                     ||
|-----------|-------------------------------------------------------------------------|
| `session` | `CustomTabsSession`: The session to associate this Builder with. <br /> |

## Public methods

### addDefaultShareMenuItem

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder addDefaultShareMenuItem ()
```

Adds a default share item to the menu.

<br />

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### addMenuItem

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder addMenuItem (String label, 
                PendingIntent pendingIntent)
```

Adds a menu item.

<br />

|                                            Parameters                                            ||
|-----------------|---------------------------------------------------------------------------------|
| `label`         | `String`: Menu label. <br />                                                    |
| `pendingIntent` | `PendingIntent`: Pending intent delivered when the menu item is clicked. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### addToolbarItem

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder addToolbarItem (int id, 
                Bitmap icon, 
                String description, 
                PendingIntent pendingIntent)
```

<br />

**This method was deprecated in API level 24.1.0.**   
Use CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int\[\], PendingIntent).

Adds an action button to the custom tab. Multiple buttons can be added via this method. If the given id equals[TOOLBAR_ACTION_BUTTON_ID](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#TOOLBAR_ACTION_BUTTON_ID), the button will be placed on the toolbar; if the bitmap is too wide, it will be put to the bottom bar instead. If the id is not[TOOLBAR_ACTION_BUTTON_ID](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#TOOLBAR_ACTION_BUTTON_ID), it will be directly put on secondary toolbar. The maximum number of allowed toolbar items in a single intent is[getMaxToolbarItems()](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#getMaxToolbarItems()). Throws an[IllegalStateException](https://developer.android.com/reference/java/lang/IllegalStateException)when that number is exceeded per intent.

<br />

|                                            Parameters                                             ||
|-----------------|----------------------------------------------------------------------------------|
| `id`            | `int`: The unique id of the action button. This should be non-negative. <br />   |
| `icon`          | `Bitmap`: The icon. <br />                                                       |
| `description`   | `String`: The description for the button. To be used for accessibility. <br />   |
| `pendingIntent` | `PendingIntent`: The pending intent delivered when the button is clicked. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

|           Throws           ||
|-------------------------|---|
| `IllegalStateException` |   |

**See also:**

- [getMaxToolbarItems()](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#getMaxToolbarItems())  

### build

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent build ()
```

Combines all the options that have been set and returns a new[CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent)object.

<br />

|                                                     Returns                                                     ||
|---------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent) | <br /> |

### enableUrlBarHiding

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder enableUrlBarHiding ()
```

Enables the url bar to hide as the user scrolls down on the page.

<br />

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setActionButton

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setActionButton (Bitmap icon, 
                String description, 
                PendingIntent pendingIntent, 
                boolean shouldTint)
```

Sets the action button that is displayed in the Toolbar.

This is equivalent to calling[addToolbarItem(int, Bitmap, String, PendingIntent)](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#addToolbarItem(int, android.graphics.Bitmap, java.lang.String, android.app.PendingIntent))with[TOOLBAR_ACTION_BUTTON_ID](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#TOOLBAR_ACTION_BUTTON_ID)as id.

<br />

|                                           Parameters                                            ||
|-----------------|--------------------------------------------------------------------------------|
| `icon`          | `Bitmap`: The icon. <br />                                                     |
| `description`   | `String`: The description for the button. To be used for accessibility. <br /> |
| `pendingIntent` | `PendingIntent`: pending intent delivered when the button is clicked. <br />   |
| `shouldTint`    | `boolean`: Whether the action button should be tinted. <br />                  |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

**See also:**

- [addToolbarItem(int, Bitmap, String, PendingIntent)](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#addToolbarItem(int, android.graphics.Bitmap, java.lang.String, android.app.PendingIntent))  

### setActionButton

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setActionButton (Bitmap icon, 
                String description, 
                PendingIntent pendingIntent)
```

Sets the action button that is displayed in the Toolbar with default tinting behavior.

<br />

|               Parameters                ||
|-----------------|------------------------|
| `icon`          | `Bitmap` <br />        |
| `description`   | `String` <br />        |
| `pendingIntent` | `PendingIntent` <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

**See also:**

- [setActionButton(Bitmap, String, PendingIntent, boolean)](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder#setActionButton(android.graphics.Bitmap, java.lang.String, android.app.PendingIntent, boolean))  

### setCloseButtonIcon

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setCloseButtonIcon (Bitmap icon)
```

Sets the Close button icon for the custom tab.

<br />

|                                                   Parameters                                                    ||
|--------|---------------------------------------------------------------------------------------------------------|
| `icon` | `Bitmap`: The icon[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html) <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setExitAnimations

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setExitAnimations (Context context, 
                int enterResId, 
                int exitResId)
```

Sets the exit animations.

<br />

|                                      Parameters                                       ||
|--------------|-------------------------------------------------------------------------|
| `context`    | `Context`: Application context. <br />                                  |
| `enterResId` | `int`: Resource ID of the "enter" animation for the application. <br /> |
| `exitResId`  | `int`: Resource ID of the "exit" animation for the browser. <br />      |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setInstantAppsEnabled

added in[version 25.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setInstantAppsEnabled (boolean enabled)
```

Sets whether Instant Apps is enabled for this Custom Tab.

<br />

|                              Parameters                              ||
|-----------|-----------------------------------------------------------|
| `enabled` | `boolean`: Whether Instant Apps should be enabled. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setSecondaryToolbarColor

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setSecondaryToolbarColor (int color)
```

Sets the color of the secondary toolbar.

<br />

|                         Parameters                          ||
|---------|----------------------------------------------------|
| `color` | `int`: The color for the secondary toolbar. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setSecondaryToolbarViews

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setSecondaryToolbarViews (RemoteViews remoteViews, 
                int[] clickableIDs, 
                PendingIntent pendingIntent)
```

Sets the remote views displayed in the secondary toolbar in a custom tab.

<br />

|                                                                                                                                                                                                                Parameters                                                                                                                                                                                                                ||
|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `remoteViews`   | `RemoteViews`: The[RemoteViews](https://developer.android.com/reference/android/widget/RemoteViews.html)that will be shown on the secondary toolbar. <br />                                                                                                                                                                                                                                                             |
| `clickableIDs`  | `int`: The IDs of clickable views. The onClick event of these views will be handled by custom tabs. <br />                                                                                                                                                                                                                                                                                                              |
| `pendingIntent` | `PendingIntent`: The[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)that will be sent when the user clicks on one of the[View](https://developer.android.com/reference/android/view/View.html)s in clickableIDs. When the[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)is sent, it will have the current URL as its intent data. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

**See also:**

- [EXTRA_REMOTEVIEWS](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#EXTRA_REMOTEVIEWS)
- [EXTRA_REMOTEVIEWS_VIEW_IDS](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#EXTRA_REMOTEVIEWS_VIEW_IDS)
- [EXTRA_REMOTEVIEWS_PENDINGINTENT](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#EXTRA_REMOTEVIEWS_PENDINGINTENT)
- [EXTRA_REMOTEVIEWS_CLICKED_ID](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent#EXTRA_REMOTEVIEWS_CLICKED_ID)  

### setShowTitle

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setShowTitle (boolean showTitle)
```

Sets whether the title should be shown in the custom tab.

<br />

|                            Parameters                             ||
|-------------|------------------------------------------------------|
| `showTitle` | `boolean`: Whether the title should be shown. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setStartAnimations

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setStartAnimations (Context context, 
                int enterResId, 
                int exitResId)
```

Sets the start animations.

<br />

|                                      Parameters                                      ||
|--------------|------------------------------------------------------------------------|
| `context`    | `Context`: Application context. <br />                                 |
| `enterResId` | `int`: Resource ID of the "enter" animation for the browser. <br />    |
| `exitResId`  | `int`: Resource ID of the "exit" animation for the application. <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

### setToolbarColor

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CustomTabsIntent.Builder setToolbarColor (int color)
```

Sets the toolbar color.

<br />

|                                             Parameters                                             ||
|---------|-------------------------------------------------------------------------------------------|
| `color` | `int`:[Color](https://developer.android.com/reference/android/graphics/Color.html) <br /> |

|                                                             Returns                                                             ||
|-------------------------------------------------------------------------------------------------------------------------|--------|
| [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder) | <br /> |

-

  ## Annotations

  - [CustomTabsService.Relation](https://developer.android.com/reference/android/support/customtabs/CustomTabsService.Relation)
  - [CustomTabsService.Result](https://developer.android.com/reference/android/support/customtabs/CustomTabsService.Result)
-

  ## Classes

  - [CustomTabsCallback](https://developer.android.com/reference/android/support/customtabs/CustomTabsCallback)
  - [CustomTabsClient](https://developer.android.com/reference/android/support/customtabs/CustomTabsClient)
  - [CustomTabsIntent](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent)
  - [CustomTabsIntent.Builder](https://developer.android.com/reference/android/support/customtabs/CustomTabsIntent.Builder)
  - [CustomTabsService](https://developer.android.com/reference/android/support/customtabs/CustomTabsService)
  - [CustomTabsServiceConnection](https://developer.android.com/reference/android/support/customtabs/CustomTabsServiceConnection)
  - [CustomTabsSession](https://developer.android.com/reference/android/support/customtabs/CustomTabsSession)
  - [CustomTabsSessionToken](https://developer.android.com/reference/android/support/customtabs/CustomTabsSessionToken)
  - [PostMessageService](https://developer.android.com/reference/android/support/customtabs/PostMessageService)
  - [PostMessageServiceConnection](https://developer.android.com/reference/android/support/customtabs/PostMessageServiceConnection)
  - [R](https://developer.android.com/reference/android/support/customtabs/R)
  - [R.anim](https://developer.android.com/reference/android/support/customtabs/R.anim)
  - [R.attr](https://developer.android.com/reference/android/support/customtabs/R.attr)
  - [R.bool](https://developer.android.com/reference/android/support/customtabs/R.bool)
  - [R.color](https://developer.android.com/reference/android/support/customtabs/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/customtabs/R.dimen)
  - [R.drawable](https://developer.android.com/reference/android/support/customtabs/R.drawable)
  - [R.id](https://developer.android.com/reference/android/support/customtabs/R.id)
  - [R.integer](https://developer.android.com/reference/android/support/customtabs/R.integer)
  - [R.layout](https://developer.android.com/reference/android/support/customtabs/R.layout)
  - [R.string](https://developer.android.com/reference/android/support/customtabs/R.string)
  - [R.style](https://developer.android.com/reference/android/support/customtabs/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/customtabs/R.styleable)
  - [TrustedWebUtils](https://developer.android.com/reference/android/support/customtabs/TrustedWebUtils)