# setDoubleTapZoomDpi

public final void setDoubleTapZoomDpi(int dpi)

A density aware alternative to setDoubleTapZoomScale; this allows you to express the scale the image will zoom in to when double tapped in terms of the image pixel density. Values lower than the max scale will be ignored. A sensible starting point is 160 - the default used by this view.

#### Parameters

dpi

New value for double tap gesture zoom scale.