Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25116e6b authored by shaoweishen's avatar shaoweishen
Browse files

[Keyboard Shortcut] Update title color

Consulted with UX to update titles color to the same, in order to have
enough contrast ratio.

This change will only impact phone side's shortcut.

Bug: 323463526
Test: atest KeyboardShortcutsTest
Flag: NA
Change-Id: I008495cd068d07b57a0f2c955546a0ca6d40815c
parent 198f7f51
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ import android.content.Intent;
import android.content.pm.IPackageManager;
import android.content.pm.PackageInfo;
import android.content.pm.ResolveInfo;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
@@ -636,8 +635,7 @@ public final class KeyboardShortcuts {
            TextView categoryTitle = (TextView) inflater.inflate(
                    R.layout.keyboard_shortcuts_category_title, keyboardShortcutsLayout, false);
            categoryTitle.setText(group.getLabel());
            categoryTitle.setTextColor(group.isSystemGroup() ? Utils.getColorAccent(mContext) :
                    ColorStateList.valueOf(mContext.getColor(R.color.ksh_application_group_color)));
            categoryTitle.setTextColor(Utils.getColorAccent(mContext));
            keyboardShortcutsLayout.addView(categoryTitle);

            LinearLayout shortcutContainer = (LinearLayout) inflater.inflate(