diff --git a/library/src/main/java/com/jaeger/library/SelectableTextHelper.java b/library/src/main/java/com/jaeger/library/SelectableTextHelper.java index badbbfa..6713e58 100644 --- a/library/src/main/java/com/jaeger/library/SelectableTextHelper.java +++ b/library/src/main/java/com/jaeger/library/SelectableTextHelper.java @@ -275,6 +275,7 @@ public void onClick(View v) { public void onClick(View v) { hideSelect(); selectText(0, mTextView.getText().length() - 1); + isHide = false; showCursor(mStartHandle); showCursor(mEndHandle); mOperateWindow.show(); diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml index eedcee8..7366116 100644 --- a/sample/src/main/res/layout/activity_main.xml +++ b/sample/src/main/res/layout/activity_main.xml @@ -9,14 +9,30 @@ - + android:orientation="vertical"> + + + + +