Skip to content Skip to sidebar Skip to footer

How To Fix Copy/paste Layout Bug In Edittext

I have own EditText in layout, I use it to search. but select the text of into EditText bug in top of my layout. please see below photo to understand my mean layout code : <

Solution 1:

Update your layout like:

<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"android:layout_width="match_parent"android:layout_height="match_parent" >
    ..
    </RelativeLayout>

Also make sure that your project uses style

Theme.AppCompat.Light.NoActionBar

Tell me if it works for you!

Post a Comment for "How To Fix Copy/paste Layout Bug In Edittext"