I make an app that allow user to read in English and in my language.
But the text is long, maybe 100 lines for each file.
so when the user scroll down maybe to line 20(like reading in English), the when user switch to my language, it is on line 15 or 16.
so how can i let the user go to line 20 when they switch to other language?
now i am using Textview to show the text.
Asked
Active
Viewed 595 times
-2
Sopheap SK
- 11
1 Answers
0
Easiest way is to get it using View.getLocationOnScreen(); OR getLocationInWindow();
And if you want position relative to root Layout then See
Community
- 1
- 1
Meghshyam Sonar
- 377
- 4
- 12
-
He is asking about text scrolling position! – Mohsen Mirhoseini Oct 14 '16 at 06:03