Quick fix
This commit is contained in:
parent
9e84e52907
commit
ca23018b9d
1 changed files with 1 additions and 1 deletions
|
|
@ -379,8 +379,8 @@ public class PlayerFragment extends Fragment implements MusicServiceEventListene
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPanelSlide(View view, float slide) {
|
public void onPanelSlide(View view, float slide) {
|
||||||
float density = getResources().getDisplayMetrics().density;
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
|
float density = getResources().getDisplayMetrics().density;
|
||||||
playingQueueCard.setCardElevation(density * 6 * slide + 2 * density);
|
playingQueueCard.setCardElevation(density * 6 * slide + 2 * density);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue