Loading packages/SystemUI/res-keyguard/drawable/bouncer_user_switcher_header_bg.xml +2 −1 Original line number Original line Diff line number Diff line Loading @@ -21,11 +21,12 @@ android:paddingEnd="0dp"> android:paddingEnd="0dp"> <item> <item> <shape android:shape="rectangle"> <shape android:shape="rectangle"> <solid android:color="?androidprv:attr/colorSurface" /> <solid android:color="?androidprv:attr/colorSurfaceHighlight" /> <corners android:radius="32dp" /> <corners android:radius="32dp" /> </shape> </shape> </item> </item> <item <item android:id="@+id/user_switcher_key_down" android:drawable="@drawable/ic_ksh_key_down" android:drawable="@drawable/ic_ksh_key_down" android:gravity="end|center_vertical" android:gravity="end|center_vertical" android:width="32dp" android:width="32dp" Loading packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -1073,6 +1073,11 @@ public class KeyguardSecurityContainer extends FrameLayout { android.R.attr.textColorPrimary)); android.R.attr.textColorPrimary)); header.setBackground(mView.getContext().getDrawable( header.setBackground(mView.getContext().getDrawable( R.drawable.bouncer_user_switcher_header_bg)); R.drawable.bouncer_user_switcher_header_bg)); Drawable keyDownDrawable = ((LayerDrawable) header.getBackground().mutate()).findDrawableByLayerId( R.id.user_switcher_key_down); keyDownDrawable.setTintList(Utils.getColorAttr(mView.getContext(), android.R.attr.textColorPrimary)); } } } } Loading Loading
packages/SystemUI/res-keyguard/drawable/bouncer_user_switcher_header_bg.xml +2 −1 Original line number Original line Diff line number Diff line Loading @@ -21,11 +21,12 @@ android:paddingEnd="0dp"> android:paddingEnd="0dp"> <item> <item> <shape android:shape="rectangle"> <shape android:shape="rectangle"> <solid android:color="?androidprv:attr/colorSurface" /> <solid android:color="?androidprv:attr/colorSurfaceHighlight" /> <corners android:radius="32dp" /> <corners android:radius="32dp" /> </shape> </shape> </item> </item> <item <item android:id="@+id/user_switcher_key_down" android:drawable="@drawable/ic_ksh_key_down" android:drawable="@drawable/ic_ksh_key_down" android:gravity="end|center_vertical" android:gravity="end|center_vertical" android:width="32dp" android:width="32dp" Loading
packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -1073,6 +1073,11 @@ public class KeyguardSecurityContainer extends FrameLayout { android.R.attr.textColorPrimary)); android.R.attr.textColorPrimary)); header.setBackground(mView.getContext().getDrawable( header.setBackground(mView.getContext().getDrawable( R.drawable.bouncer_user_switcher_header_bg)); R.drawable.bouncer_user_switcher_header_bg)); Drawable keyDownDrawable = ((LayerDrawable) header.getBackground().mutate()).findDrawableByLayerId( R.id.user_switcher_key_down); keyDownDrawable.setTintList(Utils.getColorAttr(mView.getContext(), android.R.attr.textColorPrimary)); } } } } Loading