Interactive Ink

[Android} How to hide context menu and word helper

Hello,

Is there any way I can remove this pop-up context menu with words prediction (marked red on screenshot)?

image

In my app I'm using UI Reference Implementation, so inside some layout I have:

<include layout="@layout/editor_view" />

  I've checked the source code, can you tell me if  <com.myscript.iink.uireferenceimplementation.SmartGuideView> is responsible for this context menu?

 


Dear Al,


thank you for contacting us.


Indeed, the SmartGuideView is responsible for the context window.


I do not know what you plan to do in your application but you are free to not use it and  just use the "export" function to get the result, and use the result as you prefer.


Best regards,


Olivier

Well, actually, I've managed to solve it this way:


  

editorView.findViewById(R.id.smart_guide_view).setVisibility(View.GONE);
editorView.findViewById(R.id.scroll_view).setVisibility(View.GONE);
editorView.findViewById(R.id.more_view).setVisibility(View.GONE);
editorView.findViewById(R.id.style_view).setVisibility(View.GONE);

 But I dont think, it's a good solution.

Could you please give me some hint for a better one?

 

Login or Signup to post a comment