bug #15543626 Bluetooth Settings headers need to support Quantum styling
+ Changed cog to teal + Eliminated double vertical bar + Removed dimming the cog Change-Id: I6311408658328b5cc9c7e2846a8ba74a32d1af6e
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 394 B After Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 1000 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -19,16 +19,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<!-- Divider -->
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/divider"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:src="@drawable/nav_divider"
|
|
||||||
android:contentDescription="@null"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Details button -->
|
<!-- Details button -->
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/deviceDetails"
|
android:id="@+id/deviceDetails"
|
||||||
|
@@ -17,8 +17,10 @@
|
|||||||
<!-- Layout used for ProgressCategory in bluetooth settings. -->
|
<!-- Layout used for ProgressCategory in bluetooth settings. -->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
style="?android:attr/listSeparatorTextViewStyle"
|
style="?android:attr/listSeparatorTextViewStyle"
|
||||||
|
android:background="@null"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" >
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" >
|
||||||
|
|
||||||
|
@@ -133,10 +133,10 @@ public final class BluetoothDevicePreference extends Preference implements
|
|||||||
|
|
||||||
if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
|
if (mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
|
||||||
ImageView deviceDetails = (ImageView) view.findViewById(R.id.deviceDetails);
|
ImageView deviceDetails = (ImageView) view.findViewById(R.id.deviceDetails);
|
||||||
|
|
||||||
if (deviceDetails != null) {
|
if (deviceDetails != null) {
|
||||||
deviceDetails.setOnClickListener(this);
|
deviceDetails.setOnClickListener(this);
|
||||||
deviceDetails.setTag(mCachedDevice);
|
deviceDetails.setTag(mCachedDevice);
|
||||||
deviceDetails.setAlpha(isEnabled() ? 255 : sDimAlpha);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|