Search UI SDK
The Mapbox Search SDK for Android offers two pre-built UI components which you can use to build a custom search experience for your users. The UI components are:
SearchPlaceBottomSheetView (sometimes we will use Place Card term for this UI component later in this doc). This is a UI component that displays search result details like name, address, distance to the place from user's location, and action buttons like Navigate, Share, and etc.
Search results view
SearchResultsView - is a UI component that can display search results list. Technically, this is a subclass of the
RecyclerView with predefined Adapter where items represent search states, for example, search result items that display details like name, address, distance to the place from user's location, and icon.
Dark theme support
Dark theme is supported out of the box!
Before using any of Mapbox's Search products, you need to do some common installation steps. Please follow this guide, then you can use any of the UI components we will discuss next.