Merge "Change background color of fold/unfold" into tm-qpr-dev

This commit is contained in:
Shivangi Dubey
2023-03-20 17:14:37 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/system_neutral1_500" android:lStar="5" />
</selector>

View File

@@ -79,7 +79,7 @@ public class UnfoldBackgroundController {
} }
private float[] getBackgroundColor(Context context) { private float[] getBackgroundColor(Context context) {
int colorInt = context.getResources().getColor(R.color.taskbar_background); int colorInt = context.getResources().getColor(R.color.unfold_background);
return new float[]{ return new float[]{
(float) red(colorInt) / 255.0F, (float) red(colorInt) / 255.0F,
(float) green(colorInt) / 255.0F, (float) green(colorInt) / 255.0F,