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.
Without seeing what you have done it's impossible to give a concrete advice !
You should post your project as a zip file so we could see what exactly you have done.
Without seeing what you have done it's impossible to give a concrete advice !
You should post your project as a zip file so we could see what exactly you have done.
Why do you set the height if the TabHost to two times the screen height ???
In your code : tbhMain.Height=100%y*2
You should set to : tbhMain.Height=100%y
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.
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.