hello, I am new to android developement. Now I am doing webview gallery. In this gallery I load some images and i set layout for mWebView.setLayoutParams(new Gallery.LayoutParams(70,85)); this 70 and 85 is height and width for webview but when the images are webview.loadurl that time some big and some small images are load... so problem is images are display more than width size and some lower than width then i won't set dynamically set height and width. It's height and width depend on whaterver images are comes for url