I Want to Show WebPage Inside WebView. Up to this it is fine.
But I have WebPage (As Given Below) and I want Certain Part of it. I mean just Top Left Corner should be vi
try with this code hop this work for u.
webview.setInitialScale(getScale());
private int getScale(){
Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
int width = display.getWidth();
Double val = new Double(width)/new Double(200);
Log.e("hh", "** "+val);
val = val * 100d;
Log.e("hh", "** "+val);
return val.intValue();
}