|
I´m making a web browser application for Android and I´m having some serious problems with the views. My aim is to have 3 tabs with identical content but independant from each other (so that you can visit three different web sites at the same time, one per tab). Screenshot: http://imgur.com/x96to Below the TabHost, I want it to be a small panel with a EditText (searchfield) and a few buttons to the left and the right of the searchfield. Below the panel I want it to be a WebView. As it is now, I have three tabs with three independant WebViews, but I can´t solve adding the panel above the WebView. The Panel is made in xml and the WebView is created in java. As you may notice in the following code I´m thinking about making my own CustomView but I don´t really now if it´s a good idea and how to do it properly. And then where do I put my OnClicks for the panelbuttons? Please help me with at least some directions! Code:
|