Android 8 Oreo EditText do not allow paste on long press -


i have simple custom view edittext , copy/paste popup not showing on oreo. working on android 7, working on emulator running android 8 oreo, not working on real device android oreo (google pixel, nexus 5x). when long press on custom view edittext, popup menu copy/paste options not displayed @ on real device (again, working on android 7 , lower , on emulator running oreo). when fill text in edittext, , long press, copy/paste popup show on oreo on device.

really weird behaviour. copied logic in custom view simple edittext there , still no result. think maybe new auto fill feature breaks down?

so found problem is, when edittext has set negative side margin.

sample layout not showing copy/paste popup on android oreo (real device only):

<edittext     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_marginleft="-4dp"     android:layout_marginright="-4dp"/> 

i created new issue: https://issuetracker.google.com/issues/65575880


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -