# setMinimumDpi

public final void setMinimumDpi(int dpi)

This is a screen density aware alternative to setMaxScale; it allows you to express the maximum allowed scale in terms of the minimum pixel density. This avoids the problem of 1:1 scale still being too small on a high density screen. A sensible starting point is 160 - the default used by this view.

#### Parameters

dpi

Source image pixel density at maximum zoom.