There is a separate edit view:
<com.sai.android.features.common.widget.CustomEditText android:id="@+id/nameView" android:gravity="right" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/transparent" android:textColor="@color/other_black" app:fontType="regular" android:textSize="@dimen/text_18"/> By default, the text is inserted into it, after which I can delete it and write the desired one. How is it possible to make it so that by clicking on the text, which is the default, it is immediately removed and I could write without deleting anything manually?
Viewgets the focus, check the text that is in it, if it is equivalent to the default one - delete it. - post_zeew