webview in android -


i using webview control in android show html content. face problem in webview have fix height thats why if html content contains less data wasted space. there solution solve problem how can show same content html has in webview without wasted space please help.

following xml used draw webview right? in give fix height webview. if not giving fix height show 1 line data scroll.

         <linearlayout android:id="@+id/llweb" android:layout_width="fill_parent" android:scrollbars="vertical" android:background="@android:color/transparent" android:layout_height="500dip">         <webview android:id="@+id/hellowebview" android:layout_width="fill_parent" android:background="@android:color/transparent" android:layout_height="500dip"/>      </linearlayout> 

thanks

use "fill_parent" attribute height , width in webview.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -