Merge "Switch keyboard shortcuts helper to daynight theme"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9edf4feecf
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user