Android Question Get character count in activity height

Blue.Sky

Active Member
Licensed User
Longtime User
Hi
I want to show 1000 character in my app.
How can i get character count in activity?
Assume activity height and width is 320x480
i should substring string from text and show it in activity without scoll
Actually i would to add string in viewpager and slide to left or right to explore text
 

JonPM

Well-Known Member
Licensed User
Longtime User
Sorry I'm confused as to your goal exactly. Can you show a layout or something similar?
 
Upvote 0

Blue.Sky

Active Member
Licensed User
Longtime User
Sorry I'm confused as to your goal exactly. Can you show a layout or something similar?
Thank you,i can solve it.I division string height with activity height and get string count but with a few change number
 
Upvote 0
Top