Turn off Button Backlight (like Nexus 1 soft buttons)
<p>I know this is possible as the built in clock app and other apps are able to do it.</p>

<p>How do you turn off the button backlights from code?  These would be those like the softkeys on the bottom of the Nexus One screen.</p>

<p>Update:</p>

<p>Found this, but it only works on Froyo:</p>

<pre><code>WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.buttonBrightness = 0;
</code></pre>

<p>Any other ideas?</p>
