Fix text color in KeyboardUi
This commit is contained in:
parent
9c73c5df23
commit
4245dc7cc0
@ -56,8 +56,8 @@ public class KeyboardUi {
|
|||||||
this.parameterNames = parameterNames;
|
this.parameterNames = parameterNames;
|
||||||
this.dragListener = new SimpleDragListener(buttonHandler, user.getContext());
|
this.dragListener = new SimpleDragListener(buttonHandler, user.getContext());
|
||||||
final Resources resources = user.getResources();
|
final Resources resources = user.getResources();
|
||||||
textColor = resources.getColor(R.color.cpp_button_text);
|
textColor = resources.getColor(R.color.cpp_kb_button_text);
|
||||||
textColorSecondary = resources.getColor(R.color.cpp_button_text);
|
textColorSecondary = resources.getColor(R.color.cpp_kb_button_text);
|
||||||
sidePadding = resources.getDimensionPixelSize(R.dimen.cpp_button_padding);
|
sidePadding = resources.getDimensionPixelSize(R.dimen.cpp_button_padding);
|
||||||
buttonBackground = App.getTheme().light ? R.drawable.material_button_light : R.drawable.material_button_dark;
|
buttonBackground = App.getTheme().light ? R.drawable.material_button_light : R.drawable.material_button_dark;
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
<color name="cpp_text_inverse">#424242</color>
|
<color name="cpp_text_inverse">#424242</color>
|
||||||
<color name="cpp_text_inverse_error">@color/cpp_text</color>
|
<color name="cpp_text_inverse_error">@color/cpp_text</color>
|
||||||
|
|
||||||
|
<color name="cpp_kb_button_text">#ffd4d4d4</color>
|
||||||
<color name="cpp_button_text">#ffffffff</color>
|
<color name="cpp_button_text">#ffffffff</color>
|
||||||
<color name="cpp_button_text_operator">#ffffff99</color>
|
<color name="cpp_button_text_operator">#ffffff99</color>
|
||||||
<color name="cpp_selected_angle_unit_text">#ffffff99</color>
|
<color name="cpp_selected_angle_unit_text">#ffffff99</color>
|
||||||
|
Loading…
Reference in New Issue
Block a user