tags:

views:

13

answers:

1

Hi I want to display WebView with the other view TextView in Android application. The text view will be visible like an header.

Thanks Deepak

A: 

You need to subdivide your layout, using something like:

LinearLayout masterLayout = new LinearLayout(context);
WebView wv = new WebView(context);
masterLayout.addView(wv);
TextView tv = new TextView(context);
masterLayout.addView(tv);

myActivity.setContentView(masterLayout);
fredley