Android Question Large Text viewer, label on Tabhost

Eldritch

Member
Licensed User
Longtime User
Hi

I'm trying to display a large amount of text in a label located in a tabhost. I have tried to adjust the height of the label and the tabhost but the label gets outside the visible area. The scollbar also goes outside the screen.

It's necessary for me that the text is locked and paste is disabled.

I have attached the project.
 

Attachments

Replace this line
scvTest1.Panel.AddView(WVUrl,0,1*lblHeight1,100%x,100%y)
by this one.
scvTest1.Panel.AddView(WVUrl,0,1*lblHeight1,100%x,100%y - lblHeight1)

You should try to replace the ScrollvVew scvTest1 by a Panel.
In your case I suppose that there is a conflict between the scrolling of the ScrollView and the scrolling of the WebView.
 
Upvote 0
Replace this line
scvTest1.Panel.AddView(WVUrl,0,1*lblHeight1,100%x,100%y)
by this one.
scvTest1.Panel.AddView(WVUrl,0,1*lblHeight1,100%x,100%y - lblHeight1)

You should try to replace the ScrollvVew scvTest1 by a Panel.
In your case I suppose that there is a conflict between the scrolling of the ScrollView and the scrolling of the WebView.

Changing it t at panel did the trick, all is working fine now, thanks a lot Klaus. I'm a happiii camper now.-)
 
Upvote 0
Back
Top