setSearchResultPadding

open fun setSearchResultPadding(@IntRange(from = 0) searchResultPadding: Int)

Sets padding of the the highlighted search result used when highlighting document text. Once you've set this property, you need to call getDrawablesForPage in order to get search highlight drawables with latest properties applied.

Parameters

searchResultPadding

Padding of the highlighted search result used for text results (in pixels).