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

Commit 9edf4fee authored by Salvador Martinez's avatar Salvador Martinez Committed by Android (Google) Code Review
Browse files

Merge "Switch keyboard shortcuts helper to daynight theme"

parents d4bc280d c85d6c25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
            android:layout_height="wrap_content"
            android:paddingEnd="12dp"
            android:paddingBottom="4dp"
            android:textColor="@color/ksh_keyword_color"
            android:textColor="?android:attr/textColorPrimary"
            android:textSize="16sp"
            android:maxLines="5"
            android:singleLine="false"
+0 −1
Original line number Diff line number Diff line
@@ -129,7 +129,6 @@

    <!-- Keyboard shortcuts colors -->
    <color name="ksh_application_group_color">#fff44336</color>
    <color name="ksh_keyword_color">#d9000000</color>
    <color name="ksh_key_item_color">@color/material_grey_600</color>
    <color name="ksh_key_item_background">@color/material_grey_100</color>

+2 −1
Original line number Diff line number Diff line
@@ -128,7 +128,8 @@ public final class KeyboardShortcuts {
    private KeyCharacterMap mBackupKeyCharacterMap;

    private KeyboardShortcuts(Context context) {
        this.mContext = new ContextThemeWrapper(context, android.R.style.Theme_DeviceDefault_Light);
        this.mContext = new ContextThemeWrapper(
                context, android.R.style.Theme_DeviceDefault_Settings);
        this.mPackageManager = AppGlobals.getPackageManager();
        loadResources(context);
    }