Interactive Ink

Answered

Android app - When size of editorView is not full screen, the converted equation is displayed very small and in a different position

I am developing an android app with the IInk Andoird SDK. When I keep the size of the editor view as that of the screen, even in landscape mode, the conversion works very well as demonstrated in the sample GetStarted app as well. However, if I decrease the height to around half the screen height, keeping the width same as that of the screen, the converted equation is displayed very small and at a different position.

It seems the calculation for the size and position of the converted equation assumes a full screen editor view.

Is there a way to resolve this ? 


Best Answer

Dear Sriraj Banerjee,


Thank you for your question.


As far as possible, for Math part, the iink SDK tries to keep the handwriting size when transforming the strokes into typeset.

But it must also keep the whole Math equation into the view.

So when the view height is decreased as the typeset is calculated to make sure equation still fits the view, it is smaller.


So as far as we understand your request, it is not possible to modify this behaviour.


Regards,


Gwenaëlle






1 Comment

Answer

Dear Sriraj Banerjee,


Thank you for your question.


As far as possible, for Math part, the iink SDK tries to keep the handwriting size when transforming the strokes into typeset.

But it must also keep the whole Math equation into the view.

So when the view height is decreased as the typeset is calculated to make sure equation still fits the view, it is smaller.


So as far as we understand your request, it is not possible to modify this behaviour.


Regards,


Gwenaëlle






  • Support
  • Forums
  • Interactive Ink
  • Android app - When size of editorView is not full screen, the converted equation is displayed very small and in a different position