> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/android/navigation/v2/llms.txt)

# Integrate Drop-In UI

Add `NavigationView` to your XML layout

```XML
<com.mapbox.navigation.dropin.NavigationView
    android:id="@+id/navigationView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:accessToken="<your mapbox public access token>" />
```

Load the layout in your activity

```kotlin
class MyActivity: AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.your_activity_layout)
    }
}
```

> **Related content (example): [Render Drop-In UI using NavigationView](https://docs.mapbox.com/android/navigation/v2/examples/navigation-view/)**
> 
> Learn how to integrate `NavigationView` with your application