Remove pre-3.0 alpha hack so buttons don't go missing.

This commit is contained in:
ojiikun 2013-11-06 19:50:51 +00:00
parent 2e632d848f
commit d11654b47d

View file

@ -88,11 +88,6 @@ public class UIUtils {
* that it may as well be.
*/
public static void setViewAlpha(View v, float alpha) {
boolean newVis = (alpha > 0.001);
if ((v.getVisibility() == View.VISIBLE) && !newVis) {
v.setVisibility(View.INVISIBLE);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
v.setAlpha(alpha);
}