0

I'm creating calculator on Android. I want to go to superscript in my textview (containing expression) when user clicks "^" button, so I can write in the upper index.

What I want to achieve is shown in the picture below:

enter image description here

How can I do this? Is there any library which could help me?

MD Naseem Ashraf
  • 1,030
  • 2
  • 9
  • 22
Kurczaksky
  • 39
  • 7
  • See this: https://stackoverflow.com/questions/3543454/subscript-and-superscript-a-string-in-android – MD Naseem Ashraf Mar 16 '19 at 10:06
  • I have seen this before. But i mean something like moving cursor to superscript, so user can write in upper index in real time. Maybe is there any library that allows this? – Kurczaksky Mar 16 '19 at 11:03
  • What have you tried? Try searching on StackOverflow for older questions and google as well as github. – MD Naseem Ashraf Mar 16 '19 at 12:27

0 Answers0