ParanoidSystemUI: Fix background ripple on bluetooth device view
Based on 2d5107faa7
Change-Id: If915032d1a347fd41fff5ea87b4518b6827e7b71
This commit is contained in:
parent
7143e4efcf
commit
3e9c32b2de
|
@ -142,7 +142,7 @@
|
|||
<LinearLayout
|
||||
android:id="@+id/see_all_layout"
|
||||
style="@style/InternetDialog.Network"
|
||||
android:layout_height="56dp"
|
||||
android:layout_height="64dp"
|
||||
android:paddingStart="20dp">
|
||||
<FrameLayout
|
||||
android:layout_width="24dp"
|
||||
|
|
|
@ -147,11 +147,7 @@ public class BluetoothViewAdapter extends
|
|||
mBluetoothSummaryText = view.requireViewById(R.id.bluetooth_summary);
|
||||
mBluetoothEndIcon = view.requireViewById(R.id.bluetooth_end_icon);
|
||||
mBackgroundOn = mContext.getDrawable(R.drawable.settingslib_switch_bar_bg_on);
|
||||
|
||||
try (final TypedArray typedArray = mContext.obtainStyledAttributes(
|
||||
new int[]{android.R.attr.selectableItemBackground})) {
|
||||
mBackgroundOff = typedArray.getDrawable(0 /* index */);
|
||||
}
|
||||
mBackgroundOff = mContext.getDrawable(R.drawable.internet_dialog_selected_effect);
|
||||
}
|
||||
|
||||
void onBind(@NonNull CachedBluetoothDevice device, boolean isActive) {
|
||||
|
|
Loading…
Reference in New Issue