You cannot mark anything in the search bar. Therefore, do not use the search bar. Just use simple pixels to draw as a line with match_parent width and 2dp height. Place a small circular image as a search bar. Then mark the pixels wherever you want the marking.
Look at the concept
................... ABOUT.............................. ..............................
This is your search. Mark a specific point for you dynamically.
source share