am 792fb594: am 3d1fd57e: Increase size of BT profile icons and decrease alpha for inactive profiles

* commit '792fb594d58358eee869f69b4000b50c2a235033':
  Increase size of BT profile icons and decrease alpha for inactive profiles
This commit is contained in:
Jake Hamby
2011-01-27 18:40:51 -08:00
committed by Android Git Automerger
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ public class BluetoothDevicePreference extends Preference implements
if (sDimAlpha == Integer.MIN_VALUE) {
TypedValue outValue = new TypedValue();
context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, outValue, true);
sDimAlpha = (int) (outValue.getFloat() * 255);
sDimAlpha = (int) ((outValue.getFloat() * 255) * 0.5);
}
mCachedDevice = cachedDevice;