Material themes for widget
This commit is contained in:
@@ -36,13 +36,13 @@
|
||||
<item>metro_purple_theme</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="p_onscreen_theme_names">
|
||||
<item>@string/p_onscreen_use_app_theme</item>
|
||||
<string-array name="p_simple_theme_names">
|
||||
<item>@string/p_use_app_theme</item>
|
||||
<item>@string/p_material_theme</item>
|
||||
<item>@string/p_material_light_theme</item>
|
||||
<item>@string/p_metro_blue_theme</item>
|
||||
</string-array>
|
||||
<string-array name="p_onscreen_theme_values" translatable="false">
|
||||
<string-array name="p_simple_theme_values" translatable="false">
|
||||
<item>default_theme</item>
|
||||
<item>material_theme</item>
|
||||
<item>material_light_theme</item>
|
||||
|
@@ -102,16 +102,28 @@
|
||||
<item name="android:layout_margin">@dimen/cpp_widget_margin</item>
|
||||
</style>
|
||||
|
||||
<style name="CppMain.Widget.Light" parent="CppMain.Widget">
|
||||
<item name="android:background">@color/cpp_main_bg_light</item>
|
||||
</style>
|
||||
|
||||
<style name="CppText.Editor.Widget" parent="CppText.Editor">
|
||||
<item name="android:textSize">@dimen/cpp_widget_editor_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_text</item>
|
||||
</style>
|
||||
|
||||
<style name="CppText.Editor.Widget.Light" parent="CppText.Editor.Widget">
|
||||
<item name="android:textColor">@color/cpp_text_inverse</item>
|
||||
</style>
|
||||
|
||||
<style name="CppText.Display.Widget" parent="CppText.Display">
|
||||
<item name="android:textSize">@dimen/cpp_widget_display_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_text</item>
|
||||
</style>
|
||||
|
||||
<style name="CppText.Display.Widget.Light" parent="CppText.Display.Widget">
|
||||
<item name="android:textColor">@color/cpp_text_inverse</item>
|
||||
</style>
|
||||
|
||||
<style name="CppMain.Onscreen" parent="CppMain">
|
||||
<item name="android:background">@color/cpp_main_bg</item>
|
||||
<item name="android:padding">@dimen/cpp_onscreen_main_padding</item>
|
||||
|
@@ -64,7 +64,7 @@
|
||||
<string name="p_metro_blue_theme">Metro Blue</string>
|
||||
<string name="p_metro_green_theme">Metro Green</string>
|
||||
<string name="p_metro_purple_theme">Metro Purple</string>
|
||||
<string name="p_onscreen_use_app_theme">App theme</string>
|
||||
<string name="p_use_app_theme">App theme</string>
|
||||
<string name="p_material_theme">Material</string>
|
||||
<string name="p_material_light_theme">Material Light</string>
|
||||
<string name="c_calc_result_precision_summary">Precision of the result value (all calculations are done with maximum precision regardless of the value of this option)</string>
|
||||
@@ -177,6 +177,7 @@
|
||||
<string name="c_app_widget_4x5_name">Calculator++ Widget (4x5)</string>
|
||||
<string name="open_onscreen_calculator">Click to open calculator in window mode</string>
|
||||
<string name="prefs_onscreen_title">Calculator (in separate window) settings</string>
|
||||
<string name="prefs_widget_title">Widget settings</string>
|
||||
<string name="prefs_onscreen_start_on_boot_title">Start on boot</string>
|
||||
<string name="prefs_onscreen_start_on_boot_summary">If turned on Calculator++ will appear in notification bar after device boot</string>
|
||||
<string name="prefs_onscreen_show_app_icon_title">Show separate icon (require reboot)</string>
|
||||
|
Reference in New Issue
Block a user