It is called a text selection descriptor.
There is a tricky way to hide this: replace transparent with 0px in your .xml style.
range hood / zero_px_transparent.xml
<?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <size android:height="0dp" android:width="0dp"/> </shape>
And change your .xml style:
<style name="CustomTheme" parent="@android:style/Theme.Holo.Light"> <item name="android:textSelectHandleLeft">@drawable/zero_px_transparent</item> <item name="android:textSelectHandleRight">@drawable/zero_px_transparent</item> <item name="android:textSelectHandle">@drawable/zero_px_transparent</item> </style>
source share