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:
committed by
Shivangi Dubey
parent
2b2deec8e0
commit
5cf6373c31
4
libs/WindowManager/Shell/res/color/unfold_background.xml
Normal file
4
libs/WindowManager/Shell/res/color/unfold_background.xml
Normal 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>
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user