[android] Custom Text Selection Actions https://medium.com/google-developers/custom-text-selection-actions-with-action-process-text-191f792d2999?linkId=20000023 -MOS 부터 floating text selection toolbar 가 나타났다.여기에 ACTION_PROCESS_TEXT 를 이용해서 어떤 앱이든 custom action 을 추가할 수 있게 되었다. -일반적인 TextView 와 EditText 에 쉽게 추가할 수 있다.EditText 의 경우는 id 가 있어야 하며, AppCompatActivity 를 사용할 경우 getDelegate().setHandleNativeActionModesEnabled(false) 를 호출해주어야 한다... 2020. 8. 3. 반응형 이전 1 다음