Skip to content Skip to sidebar Skip to footer

Custom "pinch To Zoom" Edittext Cant Be Edited

My goal is to create a pinch to zoom edittext. After some googling, someone kind enough to share this class on github: public ZoomEditTextView(Context context, AttributeSet attrs)

Solution 1:

link is here: android pinch zoom

Solution 2:

Just change setFocusable(true); to setFocusableInTouchMode(true);. Its working but not perfect yet. You cant tap freely inside your edittext, but the edittext is editable with this.

Post a Comment for "Custom "pinch To Zoom" Edittext Cant Be Edited"