开发者

WebView with other View Components

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

Thanks Deepa开发者_StackOverflowk


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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜