Change background color of fold/unfold

Changed background color of fold/unfold from matching taskbar color to dark

Test: manual
Fixes: 273512066
Change-Id: I51ab94989e34bcc758dfa2652dddbcb39a711672
This commit is contained in:
dshivangi
2023-03-17 14:14:56 +00:00
committed by Shivangi Dubey
parent 2b2deec8e0
commit 5cf6373c31
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) {
int colorInt = context.getResources().getColor(R.color.taskbar_background);
int colorInt = context.getResources().getColor(R.color.unfold_background);
return new float[]{
(float) red(colorInt) / 255.0F,
(float) green(colorInt) / 255.0F,