sp;setDensity(float&nbsp;density)</pre>
<div class="block">Sets the density of this layout. This should typically be set to your current display's density</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>density</code> - The density desired</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This <a href="../../../../com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.html" title="class in com.facebook.fbui.textlayoutbuilder"><code>TextLayoutBuilder</code></a></dd>
</dl>
<