am 3d1fd57e
: Increase size of BT profile icons and decrease alpha for inactive profiles
* commit '3d1fd57e3063d9501266dc46e13df63eb4ba685a': Increase size of BT profile icons and decrease alpha for inactive profiles
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
<ImageView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginRight="4dip"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user