This commit is contained in:
Sergey Solovyev
2012-12-01 17:46:16 +04:00
parent 5d1ddf976d
commit c2662e7537
243 changed files with 303 additions and 95 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="cpp_dialog_style" format="reference" />
<attr name="cpp_digit_button_style" format="reference" />
<attr name="cpp_control_button_style" format="reference" />
<attr name="cpp_control_image_button_style" format="reference" />
<attr name="cpp_operation_button_style" format="reference" />
<attr name="cpp_fragment_layout_style" format="reference" />
<attr name="cpp_fragment_title_style" format="reference" />
<attr name="cpp_fragment_list_view_style" format="reference" />
<attr name="cpp_fragment_list_view_item_style" format="reference" />
<attr name="cpp_button_style" format="reference" />
<attr name="cpp_pane_style" format="reference" />
<attr name="cpp_pane_style_transparent" format="reference" />
<attr name="cpp_main_layout_style" format="reference" />
<attr name="cpp_main_multi_pane_layout_style" format="reference" />
</resources>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="cpp_default_text_color">#ffffffff</color>
<color name="cpp_display_error_text_color">#ff393939</color>
<color name="cpp_button_text_color">#ffffffff</color>
<color name="cpp_button_operator_text_color">#ffffff99</color>
<color name="cpp_button_ce_text_color">#ffffffff</color>
<color name="cpp_selected_angle_unit_text_color">#ffffff99</color>
<color name="cpp_default_background">#ff000000</color>
<color name="cpp_pane_background">#ff1f1f1f</color>
<color name="cpp_metro_button_background">#ff1f1f1f</color>
<color name="cpp_metro_blue_color">#10648c</color>
<color name="cpp_metro_green_color">#088e3a</color>
<color name="cpp_metro_purple_color">#651456</color>
<color name="cpp_metro_light_button_background">#393939</color>
</resources>

View File

@@ -0,0 +1,29 @@
<resources>
<dimen name="cpp_text_size">20sp</dimen>
<dimen name="cpp_button_margin">0.5dp</dimen>
<dimen name="cpp_display_margin_land">2.5dp</dimen>
<dimen name="cpp_fragment_text_size">15sp</dimen>
<dimen name="cpp_fragment_title_text_size">20sp</dimen>
<dimen name="cpp_keyboard_button_text_size">30dp</dimen>
<dimen name="cpp_button_text_size">20dp</dimen>
<dimen name="cpp_keyboard_button_text_size_mobile">20dp</dimen>
<dimen name="cpp_display_text_size_mobile">25sp</dimen>
<dimen name="cpp_editor_text_size_mobile">25sp</dimen>
<dimen name="cpp_display_text_size">25sp</dimen>
<dimen name="cpp_editor_text_size">25sp</dimen>
<dimen name="cpp_pane_margin">5dp</dimen>
<dimen name="cpp_pane_padding">5dp</dimen>
<dimen name="cpp_math_entity_text_size">20sp</dimen>
<dimen name="cpp_math_entity_description_text_size">15sp</dimen>
<dimen name="cpp_onscreen_display_text_size">20sp</dimen>
<dimen name="cpp_onscreen_header_button_text_size">10dp</dimen>
<!--only for not multipane-->
<dimen name="cpp_editor_padding">5dp</dimen>
<dimen name="cpp_display_padding">3dp</dimen>
</resources>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="id" name="oneDigitButton"/>
<item type="id" name="twoDigitButton"/>
<item type="id" name="threeDigitButton"/>
<item type="id" name="fourDigitButton"/>
<item type="id" name="fiveDigitButton"/>
<item type="id" name="sixDigitButton"/>
<item type="id" name="sevenDigitButton"/>
<item type="id" name="eightDigitButton"/>
<item type="id" name="nineDigitButton"/>
<item type="id" name="zeroDigitButton"/>
<item type="id" name="periodButton"/>
<item type="id" name="roundBracketsButton"/>
<item type="id" name="settingsButton"/>
<item type="id" name="likeButton"/>
<item type="id" name="leftButton"/>
<item type="id" name="rightButton"/>
<item type="id" name="vars_button"/>
<item type="id" name="functions_button"/>
<item type="id" name="appButton"/>
<item type="id" name="historyButton"/>
<item type="id" name="multiplicationButton"/>
<item type="id" name="divisionButton"/>
<item type="id" name="plusButton"/>
<item type="id" name="subtractionButton"/>
<item type="id" name="percentButton"/>
<item type="id" name="powerButton"/>
<item type="id" name="clearButton"/>
<item type="id" name="eraseButton"/>
<item type="id" name="copyButton"/>
<item type="id" name="pasteButton"/>
<item type="id" name="equalsButton"/>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="p_calc_functions">org.solovyev.android.calculator.CalculatorModel_functions</string>
<string name="p_calc_vars">org.solovyev.android.calculator.CalculatorModel_vars</string>
</resources>

View File

@@ -0,0 +1,90 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<style name="cpp_window_title">
<item name="android:singleLine">true</item>
<item name="android:textAppearance">@style/cpp_text_appearance_window_title</item>
<item name="android:shadowColor">#BB000000</item>
<item name="android:shadowRadius">2.75</item>
</style>
<style name="cpp_text_appearance_window_title">
<item name="android:textColor">#fff</item>
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
</style>
<style name="cpp_default_text_size">
<item name="android:textSize">@dimen/cpp_text_size</item>
</style>
<style name="cpp_button_style">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:focusable">true</item>
<item name="android:background">@drawable/metro_blue_button</item>
<item name="android:textSize">@dimen/cpp_button_text_size</item>
<item name="android:textColor">@color/cpp_button_text_color</item>
</style>
<style name="cpp_keyboard_button_style">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:focusable">true</item>
<item name="android:background">@drawable/metro_button_dark</item>
<item name="android:layout_margin">@dimen/cpp_button_margin</item>
<item name="android:textSize">@dimen/cpp_keyboard_button_text_size</item>
<item name="android:textColor">@color/cpp_button_text_color</item>
</style>
<style name="cpp_onscreen_editor_style" parent="cpp_editor_style">
<item name="android:ellipsize">end</item>
<item name="android:singleLine">true</item>
<item name="android:maxLines">1</item>
<item name="android:minLines">1</item>
<item name="android:scrollbars">horizontal</item>
</style>
<style name="cpp_editor_style" parent="cpp_default_text">
<item name="android:gravity">left|top</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:textSize">@dimen/cpp_editor_text_size</item>
</style>
<style name="cpp_editor_mobile_style" parent="cpp_editor_style">
<item name="android:textSize">@dimen/cpp_editor_text_size_mobile</item>
</style>
<style name="cpp_display_style" parent="cpp_default_text">
<item name="android:gravity">top|right</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:textSize">@dimen/cpp_display_text_size</item>
</style>
<style name="cpp_onscreen_display_style" parent="cpp_display_style">
<item name="android:textSize">@dimen/cpp_onscreen_display_text_size</item>
</style>
<style name="cpp_about_style" parent="cpp_default_text">
<item name="android:gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:textSize">@dimen/cpp_fragment_text_size</item>
<item name="android:padding">5dp</item>
</style>
<style name="cpp_default_text">
<item name="android:background">@android:color/transparent</item>
<item name="android:textColor">@color/cpp_default_text_color</item>
</style>
</resources>

View File

@@ -0,0 +1,247 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_about">About</string>
<string name="c_about_content">Copyright (c) 2009-2011\n\n<b>Created by serso aka se.solovyev</b>\n\n
Application web site: <a href="http://facebook.com/calculatorpp">http://facebook.com/calculatorpp</a>\n\n
This program is open source:\nall source code can be found on\n<a href="https://github.com/serso/android-calculatorpp">http://github.com</a>\n\n
For more information please\ncontact the author by email\n<a href="mailto:se.solovyev@gmail.com">se.solovyev@gmail.com</a>
\nor visit\n<a href="http://se.solovyev.org">http://se.solovyev.org</a>\n\n
If you want to support the project\n\nyou can buy a special option from application preferences\n\n
If you like the application\nrank it with 5 stars in\n<a href="https://market.android.com/details?id=org.solovyev.android.calculator">Google Play</a>\n\n
Thanks to people who translate Calculator++ in different languages:\n
Italian - Gabriele Ravanetti\n
Spanish - Jordi Luna\n
Ukrainian - Андрій Бандура\n\n
This application uses next open source libraries:\n
<a href="http://simple.sourceforge.net">Simple (XML serialization)</a>\n
<a href="http://meditorworld.appspot.com/meditor.txt">JSCL</a>\n
<a href="http://www.achartengine.org/">AChartEngine</a>
</string>
<string name="c_release_notes">Release notes</string>
<string name="c_release_notes_for_title">"Release notes for version "</string>
<string name="c_release_notes_for_4">
1. Haptic feedback\n
2. Two layouts: calculator and cellphone\n
3. New constants\n
4. ERROR message is not so often now
</string>
<string name="c_release_notes_for_5">
1. Screen with all functions\n
2. Added support for decimal logarithm, factorial, comparison functions\n
3. Haptic feedback duration preference
</string>
<string name="c_release_notes_for_6">
1. Saving constants in two clicks (use +π button)\n
2. Result size is auto adjusted to fill all spare space\n
3. Fix for Xperia Ray blank result\n
4. Double factorial fix\n
5. Degrees added (use °: e.g. 30° and result will be converted into radians)
</string>
<string name="c_release_notes_for_7">
1. Support for entering numbers in scientific notation (2.3E2)\n
2. Added functions: deg(), rad() to convert from radians to degrees and vice versa\n
3. Added support for installing application on sd card\n
4. Added possibility to save entire expression as constant (e.g. type ln(6t), press +π button, enter name and save)\n
5. Fixed bug with abs() function and complex argument\n
6. Fixed bug with displaying result
</string>
<string name="c_release_notes_for_8">
1. Fixed bug with i^3\n
2. Fixed crash in case of many brackets
</string>
<string name="c_release_notes_for_9" formatted="false">
1. Percentage calculations.\n
Examples:\n
100+50%=150,\n
100*50%=50,\n
100+100*50%*50%=125,\n
100+(100*50%*(25+25)%+100%)=150\n
NOTE:\n
100+(20+20)%=140, but 100+(20%+20%)=124.0\n
100+50%^2=2600, but 100+50^2%=101.08
</string>
<string name="c_release_notes_for_12">
1. Help screen added\n
2. Support for differentiation, integration, calculation of sum and product.\n
Examples:\n
∂(cos(t),t)=-sin(t)\n
2∂(tcos(t),t,2)=-4.469\n
Σ(n/n!,n,1,20)=2.7182\n
∫(1/x, x)=ln(x)\n
∫ab(x, x, 0, 10)=50.0
</string>
<string name="c_release_notes_for_13">
1. Fixed crashes\n
2. Added variables on the main screen
</string>
<string name="c_release_notes_for_14">
1. Support for different angle units: radians, degrees, gradians, turns\n
2. Easy toggling between radians and degrees: use the toggle switch located on the 6 button\n
3. Application is translated in Italian (thanks to Gabriele Ravanetti)\n
4. Fixed bug with simplification of √(π^2)
</string>
<string name="c_release_notes_for_15">
1. Added functions\' plotting: type expression which contains 1 undefined variable (e.g. cos(t)) and click on the result. In the context menu choose \'Plot graph\'. Supported features: zoom in/out, moving graph, plotting imaginary part
</string>
<string name="c_release_notes_for_16">
1. Buttons swipe preference\n
2. Added support for different numeral bases (currently supported: dec, bin, oct). Dec and bin can be chosen from main screen (CE button) and from app preferences\n
3. Fixed √ simplification problem\n
4. Performance improvements in functions\' plotting
</string>
<string name="c_release_notes_for_20">
1. New swipe actions (left, right)\n
2. Extended history: save, remove, copy, use from history screen (use long click for additional actions)\n
3. Added Spanish language\n
4. Full numeral base support (dec, hex, oct, bin)\n
5. !!!: Fix for multiplication sign on some devices - if you have strange symbols instead of × - go to the settings and change multiplication sign to *\n
6. Bug fixes: correct double factorial calculation, 20x fix, e^(pi*i)+1 fix and others
</string>
<string name="c_release_notes_for_21">
1. Release notes screen added\n
2. Added categories in functions and constants screens\n
3. Additional actions are available for constants, functions and operators (long click on the item and choose from context menu)\n
4. Logarithm function added - calculate logarithm of any base \n
5. Back button preference\n
6. Variant of π constant independent from angle units
</string>
<string name="c_release_notes_for_22">
1. Fix for missing cursor in Android 3 and higher\n
2. Fix for substituting 3.14... with Π constant
</string>
<string name="c_release_notes_for_23">
1. Fix for calculating inverse trigonometric functions in complex field\n
2. Removed time delay for calculation\n
3. Fix the problem with 200 - 10% = π
</string>
<string name="c_release_notes_for_24">
Note from developer\n\n
Sorry to inform you but this version of application brings built-in ads.\n
I haven\'t seen in Google Play calculator with similar capabilities and I don\'t think I will see it in the close future.\n
But still I want to extend it\'s functionality and support already implemented. The thing is that I cannot do it anymore for free - it takes too much time and great efforts from me as
application has become rather big and complex.\n
If you want to support the project and remove the ads please purchase special option from application preferences,\n
if you don\'t want to pay or can\'t do it - you still can thank the author of this program by email: se.solovyev@gmail.com, rate application with high mark in Google Play\n
or help to translate the application to your native language.
</string>
<string name="c_release_notes_for_25">
1. Integration of ln() and lg()\n
2. Last opened tab is remembered now (history, variables etc)\n
3. Remove option from context menu for variables\n
4. 1/0 bug\n
5. Gui defect for MIUI roms\n
6. Double zero (00) key
</string>
<string name="c_release_notes_for_26">
1. Integration of trigonometric functions is disabled for not radian angles\n
2. Bug with 1/0 = -1/0 fixed\n
3. Bug with ∫(sin(t°), t) fixed\n
4. Other small fixes
</string>
<string name="c_release_notes_for_27">
Note from developer:\n\n
I\'m glad to inform you that I\'ve started a forum for Calculator++: http://facebook.com/calculatorpp.\n
Here you can find latest information about application, check for known issues, submit bugs or suggest new features.\n
You can use your social account to login (Facebook, Twitter or Google are supported).\n\n
1. Zoom buttons on graph plotter\n
2. Billing bug fixes\n
3. Fixed bug with saving constants\n
4. Android 4 GUI artifacts fixed (aka hardware acceleration problem)\n
5. Other small fixes
</string>
<string name="c_release_notes_for_29">
1. New Metro theme with 3 color variations (old themes are still available)\n
2. Simple layout (Default layout is still scientific)\n
3. Preferences screen changes\n
4. Maximum calculation time preference added\n
5. Always scientific notation option added\n
6. Remove billing information option added\n
7. Error label is substituted with greyed text\n
8. Special layout for x-high density displays (aka Galaxy Note support)\n
9. Sgn(0) problem fixed\n
10. Billing problems fixes
</string>
<string name="c_release_notes_for_34">
1. Ukrainian localization (Андрій Бандура)\n
2. HEX digits are not shown in not HEX mode\n
3. Preference for disabling display auto rotation\n
4. Preference for hiding equals button\n
5. Fixed plot problem\n
6. Fixed E+ problem (HEX mode)\n
7. π and Π are switched\n
8. Conversion tool added (tap on display or choose from application menu)\n
9. Wrong lg() integration and differentiation fixed
</string>
<string name="c_release_notes_for_39">
1. Virtual keyboard are now not shown on Android 4 ICS\n
2. Fast number conversion from display context menu\n
3. Minor GUI fixes
</string>
<string name="c_release_notes_for_93">
1. We are now on Facebook: facebook.com/calculatorpp\n
2. Tablet support (new awesome UI)\n
3. Improved graph plotter\n
4. Intermediate calculations are not shown in the history anymore\n
5. Faster UI response\n
6. Crash reports handler\n
7. Chinese translations
</string>
<string name="c_release_notes_for_99">
1. UI improvements for 4-7 inches displays\n
2. Ans variable (last calculated value)
</string>
<string name="c_release_notes_for_103">
1. Calculator++ widget for home screen (works only if app installed in phone memory)\n
2. Mobile phone layout for tablets (Preferences->Appearance Preferences->Layout->Scientific (Mobile))\n
3. Manual calculations (Preferences->Calculations Preferences->Result is calculated…)
</string>
<string name="c_release_notes_for_107">
1. Support for user-defined functions (see +f button or + button inside functions screen)\n
2. Widget in different sizes: 3x3, 3x4, 4x4, 4x5\n
3. Several functions added: re(x), im(x), √3(x), √4(x), √n(x, n)\n
4. Default number systems/angle units + special warning dialog in case of calculations errors\n
5. Performance improvements\n
6. Text size in mobile layout for tablets fixed\n
7. Bug fixes
</string>
<string name="c_release_notes_for_111">
1. Calculator in separate window\n
2. UI is fixed for some devices
</string>
</resources>

View File

@@ -0,0 +1,43 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_functions">Functions</string>
<string name="c_fun_description_sin">Trigonometric sine function.</string>
<string name="c_fun_description_cos">Trigonometric cosine function.</string>
<string name="c_fun_description_tan">Trigonometric tangent function.</string>
<string name="c_fun_description_cot">Trigonometric cotangent function.</string>
<string name="c_fun_description_asin">Arcsine - the inverse of sine function.</string>
<string name="c_fun_description_acos">Arccosine - the inverse of cosine function.</string>
<string name="c_fun_description_atan">Arctangent - the inverse of tangent function.</string>
<string name="c_fun_description_acot">Arccotangent - the inverse of cotangent function.</string>
<string name="c_fun_description_ln">Natural logarithm - logarithm the base e.</string>
<string name="c_fun_description_lg">Decadic logarithm - logarithm the base 10.</string>
<string name="c_fun_description_log">Logarithm - logarithm the specified base.</string>
<string name="c_fun_description_exp">Exponential function.</string>
<string name="c_fun_description_sqrt">Square root function.</string>
<string name="c_fun_description_cubic">Cubic root function.</string>
<string name="c_fun_description_abs">Function that gives absolute value of an argument.</string>
<string name="c_fun_description_sgn">Function that gives the sign of an argument: -1 if argument is less than 0, 0 if equals to 0, 1 if more than 0.</string>
<string name="c_fun_description_eq">Equals function - gives 1 if two arguments are equals, 0 otherwise.</string>
<string name="c_fun_description_le">Lesser-or-equals function - gives 1 if two arguments are equals or first is less than second, 0 otherwise.</string>
<string name="c_fun_description_ge">Greater-or-equals function - gives 1 if two arguments are equals or first is greater than second, 0 otherwise.</string>
<string name="c_fun_description_ne">Not-equals function - gives 1 if two arguments are not equals, 0 otherwise.</string>
<string name="c_fun_description_lt">Lesser function - gives 1 if first argument is less than second, 0 otherwise.</string>
<string name="c_fun_description_gt">Greater function - gives 1 if first argument is greater than second, 0 otherwise.</string>
<string name="c_fun_description_rad">Converts degrees into radians: d - degrees, m - minutes (default = 0), s - seconds (default = 0).</string>
<string name="c_fun_description_dms">Converts degrees from DMS notation to decimal notation: d - degrees, m - minutes (default = 0), s - seconds (default = 0).</string>
<string name="c_fun_description_deg">Converts radians into degrees.</string>
<string name="c_fun_category_trig">Trigonometric</string>
<string name="c_fun_category_hyper_trig">Hyperbolic trigonometric</string>
<string name="c_fun_category_comparison">Comparison</string>
<string name="c_fun_category_common">Common</string>
<string name="c_fun_category_my">My</string>
</resources>

View File

@@ -0,0 +1,106 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_faq">FAQ</string>
<string name="c_hints">Hints</string>
<string name="c_screens">Screens</string>
<string name="c_faq_content" formatted="false">
<b>How can I remove the ads?</b>\n
\n
You can do it by purchasing the special option in the main application preferences.\n
Purchase is done with Google Play and is linked to your google account.\n
All your devices where same google account is set will be aware of purchase and will not show the advertisement.\n
\n
<b>Why Calculator++ needs INTERNET permission?</b>\n
\n
Currently application needs such permission only for one purpose - to show ads. If you buy the special option C++ will never use your internet connection.\n
\n
<b>How can I use functions written in the top right and bottom right corners of the button?</b>\n
\n
Push the button and slide lightly up or down. Depending on value showed on the button action will occur.\n
\n
<b>How can I toggle between radians and degrees?</b>\n
\n
To toggle between different angle units you can either change appropriate option in application settings\n or use the toggle switch located on the 6 button\n
(current value is lighted with yellow color).\n
Also you can use deg() and rad() functions and ° operator to convert degrees to radians and vice versa.\n
\n
<b>Examples:</b>\n
268° = 4.67748\n
30.21° = 0.52726\n
rad(30, 21, 0) = 0.52971\n
deg(4.67748) = 268\n
\n
<b>Does C++ support %?</b>\n
\n
Yes, % function can be found in the top right corner of / button.\n
\n
<b>Examples:</b>\n
\n
100 + 50% = 150\n
100 * 50% = 50\n
100 + 100 * 50% * 50% = 125\n
100 + (100 * 50% * (25 + 25)% + 100%) = 150\n
\n
<b>Note:</b>\n
\n
100 + (20 + 20)% = 140, <b>but</b> 100+ (20% + 20%) = 124.0\n
100 + 50% ^ 2 = 2600, <b>but</b> 100 + 50 ^ 2% = 101.08\n
\n
<b>Does C++ support fractional calculations?</b>\n
\n
Yes, you can type your fractional expression in the editor and use ≡ (in the top right corner of = button). Also you can use ≡ to simplify expression.\n
\n
<b>Examples:</b>\n
\n
2/3 + 5/9 ≡ 11/9\n
2/9 + 3/123 ≡ 91/369\n
(6 - t) ^ 3 ≡ 216 - 108t + 18t ^ 2 - t ^ 3\n
\n
<b>Does C++ support complex calculations?</b>\n
\n
Yes, just enter complex expression (using i or √(-1) as imaginary number).\n
\n
<b>Examples:</b>\n
\n
(2i + 1) ^ 2 = -3 + 4i\n
e ^ i = 0.5403 + 0.84147i\n
\n
<b>Can C++ plot graph of the function?</b>\n
\n
Yes, type expression which contains 1 undefined variable (e.g. cos(t) and t has no value) and click on the result. In the context menu choose \'Plot graph\'.\n
\n
<b>Does C++ support matrix calculations?</b>\n
\n
No, it doesn\'t.\n
\n
<b>Why I\'ve got 1.76732452452345E-17 instead of 0?</b>\n
\n
Check the \'Round result\' preference in application settings - it should be turned on.\n
</string>
<string name="c_hints_content">
1. You can omit unnecessary multiplication signs (instead of 3*t or t*sin(π*t) just type 3t or tsin(πt))\n\n
2. Use ≡ (in the top right corner of = button) to simplify expression\n\n
3. Just click on the result to copy it to the clipboard\n\n
4. Use = button seldom - result is calculating on the fly\n\n
5. Add constants for often used values (you can even save expressions)\n\n
6. Use variables located on 4 and 5 buttons\n\n
</string>
<string name="c_screens_content">
1. <b>Main screen:</b> is shown on application start, can be reached from another screen by pressing Back button.\n\n
2. <b>Variables and Constants screen:</b> contains list of available constants. User may add some constants and variables here by clicking Add button. Short click on variable/constant inserts it into the editor, long click - opens variable editor window. Can be reached from the main screen by pressing π,… button.\n\n
3. <b>Functions screen:</b> contains list of all available functions. Short click on function inserts it into the editor. Can be reached from the main screen by pressing f(x) button.\n\n
4. <b>Operators screen:</b> contains list of all available operators. Short click on operator inserts it into the editor. Can be reached from the main screen by pressing ∂,… button.\n\n
5. <b>History screen:</b> contains list of all actions done by user. Short click on history item sets it into the editor. Can be reached from the main screen by pressing M button.\n\n
6. <b>Settings screen:</b> contains application preferences. Can be reached from the main screen by pressing Settings in menu.
</string>
</resources>

View File

@@ -0,0 +1,31 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_operators">Operators</string>
<string name="c_op_description_mod">Modulo operation finds the remainder of division of \'x\' by \'y\'.</string>
<string name="c_op_description_sum">Sums functions \'f(i)\', iterating through \'i\' from \'from\' to \'to\'.</string>
<string name="c_op_description_product">Gives product of functions \'f(i)\', iterating through \'i\' from \'from\' to \'to\'.</string>
<string name="c_op_description_derivative">Gives derivative of order \'order\' (default = 1) of functions \'f(x)\' by \'x\' variable and calculates at point \'x_point\' (default = same as \'x\').</string>
<string name="c_op_description_integral">Gives integral of function \'f(x)\' by \'x\' variable.</string>
<string name="c_op_description_integral_ab">Integrates function \'f(x)\' by \'x\' variable from \'a\' to \'b\'.</string>
<string name="c_pf_description_factorial">Gives the factorial of the expression before.</string>
<string name="c_pf_description_double_factorial">Gives the double factorial of the expression before.</string>
<string name="c_pf_description_percent" formatted="false">Gives the percent value of the expression before.\nExamples:\n
100 + 50% = 150\n
100 * 50% = 50\n
100 + 100 * 50% * 50% = 125
</string>
<string name="c_pf_description_degree">Converts degrees to radians.\n
Examples:\n
268° = 4.67748\n
30.21° = 0.52726
</string>
</resources>

View File

@@ -0,0 +1,16 @@
<resources>
<string name="c_auto_orientation_title">Toggle screen orientation change</string>
<string name="c_auto_orientation_summary">If turned on calculator will change screen orientation automatically</string>
<string name="c_show_equals_button_title">Show equals button</string>
<string name="c_show_equals_button_summary">If turned on equals button is shown</string>
<string name="c_hide_numeral_base_digits_title">Hide numeral base digits</string>
<string name="c_hide_numeral_base_digits_summary">If turned on numeral base digits of other numeral bases will be hidden</string>
<string name="prefs_history_show_intermediate_calculations_title">Show intermediate calculations in history</string>
<string name="prefs_history_show_intermediate_calculations_summary">If turned on all calculations will be shown on history screen</string>
<string name="p_calculations_calculate_on_fly_title">Result is calculated while typing expression</string>
<string name="p_calculations_calculate_on_fly_summary">If turned on calculations are done automatically while typing expression</string>
</resources>

View File

@@ -0,0 +1,279 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_app_name">Calculator++</string>
<string name="c_app_name_on_screen">Calculator++ (Window mode)</string>
<string name="c_app_name_free">Calculator++ Free</string>
<string name="c_app_icon_name">Calc++</string>
<string name="c_app_settings">Settings</string>
<string name="c_syntax_error">Error</string>
<string name="c_result_copied">Result copied to clipboard!</string>
<string name="c_settings">Settings</string>
<string name="c_help">Help</string>
<string name="c_vars_and_constants">Variables And Constants</string>
<!--PREFERENCE ACTIVITY-->
<string name="c_prefs_main_category">Main settings</string>
<string name="c_prefs_calculations_category">Calculation settings</string>
<string name="c_prefs_appearance_category">Appearance settings</string>
<string name="c_prefs_other_category">Other settings</string>
<string name="c_prefs_drag_button_category">Drag buttons settings</string>
<string name="c_down">Down</string>
<string name="c_up">Up</string>
<string name="c_restart">Restart</string>
<string name="c_undo">undo</string>
<string name="c_redo">redo</string>
<string name="c_clear">C</string>
<string name="c_erase">clear</string>
<string name="c_paste">paste</string>
<string name="c_vars">vars</string>
<string name="c_copy">Copy</string>
<string name="c_plot">Plot graph</string>
<string name="c_graph">Graph</string>
<string name="c_calc_color_display_title">Highlight expressions</string>
<string name="c_calc_round_result_title">Round result</string>
<string name="c_calc_round_result_summary">Toggles rounding of the result</string>
<string name="c_calc_science_notation_title">Always scientific notation</string>
<string name="c_calc_science_notation_summary">If turned on forces to use only scientific notation of output (12.34E-12)</string>
<string name="p_calc_result_precision_title">Precision of result</string>
<string name="p_calc_max_calculation_time_title">Maximum calculation time</string>
<string name="p_calc_max_calculation_time_summary">If calculations exceed specified limit - calculator halts with error</string>
<string name="c_exit">Exit</string>
<string name="c_add">Add</string>
<string name="c_cancel">Cancel</string>
<string name="c_save">Save</string>
<string name="c_remove">Remove</string>
<string name="c_yes">Yes</string>
<string name="c_no">No</string>
<string name="removal_confirmation">Removal confirmation</string>
<string name="c_var_removal_confirmation_question">Do you really want to delete \'%s\' variable?</string>
<string name="c_var_name">Name</string>
<string name="c_var_value">Value</string>
<string name="c_var_description">Description</string>
<string name="c_var_create_var">Create variable</string>
<string name="c_var_edit_var">Edit variable</string>
<string name="c_value_is_not_a_number">Value must be either number or empty: if you have parameters - create function instead!</string>
<string name="c_var_name_clashes">Variable name clashes with function name!</string>
<string name="c_var_already_exists">Variable with same name already exists!</string>
<string name="c_name_is_not_valid">Name of constant is not valid: name must start with letter, can contain letters, digits and underscore.</string>
<string name="c_sys_var_cannot_be_changed">System variable cannot be changed!</string>
<string name="c_calc_editor_hint">Enter new expression</string>
<string name="c_press_to_copy">Press to copy</string>
<string name="c_continue">Continue</string>
<string name="c_history">History</string>
<string name="c_history_button">M</string>
<string name="c_history_is_empty">History is empty!</string>
<string name="c_app_history">History</string>
<string name="c_char_is_not_accepted">Character \'%s\' is not accepted in variable name!</string>
<string name="c_calc_angle_units">Current angle units</string>
<string name="p_deg">Degrees</string>
<string name="p_rad">Radians</string>
<string name="p_grad">Gradians</string>
<string name="p_turns">Turns</string>
<string name="c_angle_units_summary">Defines the units for angles to be used in calculations</string>
<string name="c_calc_numeral_bases">Current numeral system</string>
<string name="c_numeral_bases_summary">Defines the numeral system to be used in calculations</string>
<string name="p_dec">Decimal</string>
<string name="p_hex">Hexadecimal</string>
<string name="p_oct">Octal</string>
<string name="p_bin">Binary</string>
<string name="c_calc_theme">Theme</string>
<string name="p_default_theme">Grey</string>
<string name="p_violet_theme">Violet</string>
<string name="p_light_blue_theme">Light Blue</string>
<string name="p_metro_blue_theme">Metro Blue (Default)</string>
<string name="p_metro_green_theme">Metro Green</string>
<string name="p_metro_purple_theme">Metro Purple</string>
<string name="c_calc_result_precision_summary">Precision of result value (all calculations are done with maximum precision regardless of the value of this option)</string>
<string name="c_calc_color_display_summary">Toggles colouring and styling in calculator editor</string>
<string name="c_calc_theme_summary">Sets the theme for calculator</string>
<string name="c_clear_history">Clear history</string>
<string name="c_simplify_instead_of_numeric">Next constants are undefined: {0}!</string>
<string name="p_grouping_separator_no">No grouping separator</string>
<string name="p_grouping_separator_apostrophe">Apostrophe (\')</string>
<string name="p_grouping_separator_space">Space ( )</string>
<string name="c_calc_grouping_separator">Grouping separator</string>
<string name="c_calc_grouping_separator_summary">Sets grouping separator</string>
<string name="c_calc_multiplication_sign">Multiplication sign</string>
<string name="c_calc_multiplication_sign_summary">Sets multiplication sign</string>
<string name="c_calc_layout">Layout</string>
<string name="p_layout_cellphone">Scientific (cellphone)</string>
<string name="p_layout_calculator">Scientific</string>
<string name="p_layout_calculator_mobile">Scientific (Big buttons)</string>
<string name="p_layout_simple">Simple</string>
<string name="c_calc_layout_summary">Sets layout of buttons</string>
<string name="c_calc_haptic_feedback_title">Haptic feedback</string>
<string name="c_calc_haptic_feedback_summary">Toggles vibration on button click</string>
<string name="p_calc_haptic_feedback_strength_short">Short</string>
<string name="p_calc_haptic_feedback_strength_middle">Middle</string>
<string name="p_calc_haptic_feedback_strength_long">Long</string>
<string name="p_calc_haptic_feedback_duration_title">Haptic feedback duration</string>
<string name="p_calc_haptic_feedback_duration_summary">Duration vibration on button click</string>
<string name="empty_var_error">Unable to create empty constant!</string>
<string name="not_valid_result">Current result is not valid!</string>
<string name="c_plot_graph">Graph</string>
<string name="c_min_x_value">From</string>
<string name="c_max_x_value">To</string>
<string name="c_swipe_distance">Swipe distance for buttons</string>
<string name="c_swipe_distance_summary">Sets swipe distance for buttons that support additional swipe actions</string>
<string name="c_comment">Comment</string>
<string name="c_history_item_saved">Saved</string>
<string name="c_history_item_not_saved">Not saved</string>
<string name="c_expression_copied">Expression copied to the clipboard!</string>
<string name="c_history_item_status">Status: </string>
<string name="c_history_item_comment">Comment: </string>
<string name="c_use">Use</string>
<string name="c_use_short">Use</string>
<string name="c_copy_expression">Copy expression</string>
<string name="c_copy_result">Copy result</string>
<string name="c_history_expression">Value</string>
<string name="c_history_item_already_saved">Saved (see \'Saved history\' tab)</string>
<string name="c_history_comment">Comment</string>
<string name="c_save_history">Save history</string>
<string name="c_edit_history">Modify history</string>
<string name="c_edit">Modify</string>
<string name="c_saved_history">Saved history</string>
<string name="c_history_already_saved">History was already saved!</string>
<string name="c_history_must_be_saved">History must be saved before editing!</string>
<string name="c_history_was_removed">History was successfully removed!</string>
<string name="c_history_saved">History was successfully saved!</string>
<string name="c_copy_description">Copy description</string>
<string name="c_copy_value">Copy value</string>
<string name="c_first_start_text">Thank you for choosing Calculator++!\n\nCalculator++ is a powerful tool for making everyday calculations.\n\nTo remove the ads and support the project you can use special option from application settings.\n\nIt\'s highly recommended to read the FAQ and hints before the work to use all the features of application (press Menu button and then Help)</string>
<string name="c_first_start_text_title">Welcome</string>
<string name="c_calc_show_release_notes_title">Show release notes</string>
<string name="c_calc_show_release_notes_summary">Defines if release notes popup window should appear after update to the new version</string>
<string name="c_calc_use_back_button_as_prev_summary">Defines the behaviour of the Back button</string>
<string name="c_calc_use_back_button_as_prev_title">Use Back button as history prev</string>
<string name="c_clear_billing_info_summary">Billing information will be reloaded from the server</string>
<string name="c_clear_billing_info_title">Clear billing information</string>
<string name="c_warning">Warning</string>
<string name="c_error">Error</string>
<string name="c_billing_error">Billing is not supported: you must have Google Checkout account linked to your Google account and must be connected to the internet.</string>
<string name="c_calc_ad_free_title">Support the project</string>
<string name="c_calc_ad_free_summary">And remove the advertisement</string>
<string name="c_calc_already_purchased">Ad free option has been already purchased!</string>
<string name="c_calc_purchasing">Purchasing…</string>
<string name="c_calc_clearing">Clearing…</string>
<string name="c_feedback_title">Feedback</string>
<string name="c_feedback_text">You have been using Calculator++ for some time \n
and it\'s important for us to know your opinion about application.\n\n
Please rate Calculator++ \non <a href="https://market.android.com/details?id=org.solovyev.android.calculator">Google Play</a>,\n leave a comment or \ndiscuss application \non <a href="http://facebook.com/calculatorpp">Facebook</a>
</string>
<string name="c_notespp_announce_text">Good news - I just released new application for Android called <a href="https://play.google.com/store/apps/details?id=org.solovyev.android.notes">Notes++</a>.\n
If you\'re interesting in fast and easy way of making notes please follow the <a href="https://play.google.com/store/apps/details?id=org.solovyev.android.notes">link</a> and try Notes++!
</string>
<string name="c_angle_units_changed_to">Angle units changed to \'%s\'!</string>
<string name="c_numeral_base_changed_to">Numeral base changed to \'%s\'!</string>
<string name="c_conversion_tool">Conversion tool</string>
<string name="c_convert">Convert to…</string>
<string name="convert_to_hex">Convert to hex</string>
<string name="convert_to_bin">Convert to bin</string>
<string name="convert_to_dec">Convert to dec</string>
<string name="editor">Editor</string>
<string name="result">Result</string>
<string name="other">Other</string>
<string name="derivatives">Derivatives/Integrals</string>
<string name="crashed">Calculator++ has crashed…</string>
<string name="crash_dialog_title">Calculator++ crash report</string>
<string name="crash_dialog_text">
Unfortunately, Calculator++ has crashed.\n\n
In order to fix the problem we need some information about it. It\'s highly recommended to send crash report via email (after pressing \'Ok\' button you will see all sent data in the new window).\n\n
Do you want to send crash report?
</string>
<string name="prefs_graph_screen_title">Graph settings</string>
<string name="prefs_graph_interpolate_function">Interpolate function\'s graph</string>
<string name="prefs_graph_interpolate_function_summary">If checked cubic interpolation will be used in function graph drawing</string>
<string name="prefs_graph_real_color_title">Color of real part of functions graph</string>
<string name="prefs_graph_real_color_summary">Sets color of real part functions graph</string>
<string name="prefs_graph_imag_color_title">Color of imaginary part of functions graph</string>
<string name="prefs_graph_imag_color_summary">Sets color of imaginary part functions graph</string>
<string name="p_white_line_color">White</string>
<string name="p_grey_line_color">Grey</string>
<string name="p_red_line_color">Red</string>
<string name="p_blue_line_color">Blue</string>
<string name="p_green_line_color">Green</string>
<string name="c_function_name">Name</string>
<string name="c_function_value">Value</string>
<string name="c_function_description">Description</string>
<string name="c_function_parameters">Parameters</string>
<string name="function_create_function">Create function</string>
<string name="function_edit_function">Edit function</string>
<string name="function_name_is_not_valid">Name of function is not valid: name must start with letter, can contain letters, digits and underscore.</string>
<string name="function_already_exists">Function with same name already exists!</string>
<string name="function_is_empty">Function body could not be empty!</string>
<string name="function_param_not_empty">Function parameter should not be empty!</string>
<string name="function_removal_confirmation_question">Do you really want to delete \'%s\' function?</string>
<string name="empty_function_error">Unable to create empty function!</string>
<string name="do_not_show_messages_in_session">Do not show this message until next session</string>
<string name="calculation_messages_dialog_title">Calculator++ warning</string>
<string name="arithmetic_error_while_plot">Arithmetic error occurred while plotting: %s</string>
<string name="ok">OK</string>
<string name="p_show_calculation_messages_dialog_title">Show calculation messages in dialog</string>
<string name="p_show_calculation_messages_dialog_summary">If turned on if any message occurred while calculations
special dialog will be shown
</string>
<string name="fix">Fix</string>
<string name="p_preferred_numeral_base_title">Default numeral system</string>
<string name="p_preferred_numeral_base_summary">Defines the default numeral system</string>
<string name="preferred_numeral_base_message">Default numeral system \'%1$s\' differs from current \'%2$s\'. Forgot to change back?</string>
<string name="p_preferred_angle_units_title">Default angle units</string>
<string name="p_preferred_angle_units_summary">Defines the default angle units</string>
<string name="preferred_angle_units_message">Default angle units \'%1$s\' differs from current \'%2$s\'. Forgot to change back?</string>
<string name="close">Close</string>
<string name="c_app_widget_3x3_name">Calculator++ Widget (3x3)</string>
<string name="c_app_widget_3x4_name">Calculator++ Widget (3x4)</string>
<string name="c_app_widget_4x4_name">Calculator++ Widget (4x4)</string>
<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 (window mode) 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>
</resources>

View File

@@ -0,0 +1,23 @@
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<string name="c_var_description_PI">Ratio of any circle\'s circumference to its diameter. Note: this constant is degree unit dependent => rad: 3.14, deg: 180.0</string>
<string name="c_var_description_pi">Ratio of any circle\'s circumference to its diameter. Note: this constant is degree unit independent => rad: 3.14, deg: 3.14</string>
<string name="c_var_description_e">Unique real number such that the value of the derivative (slope of the tangent line) of the function f(x) = e^x at the point x = 0 is equal to 1</string>
<string name="c_var_description_i">Imaginary unit, defined such that i^2 = 1</string>
<string name="c_var_description_c">Speed of light in vacuum, m·s^-1</string>
<string name="c_var_description_G">The gravitational constant is an empirical physical constant involved in the calculation of the gravitational attraction between objects with mass, m^3·kg^1·s^2</string>
<string name="c_var_description_h">Physical constant reflecting the sizes of energy quanta in quantum mechanics, J·s</string>
<string name="c_var_description_h_reduced">Reduced Planck constant, J·s</string>
<string name="c_var_description_nan">Not a number</string>
<string name="c_var_description_inf">Infinity</string>
<string name="c_var_system">Built-in</string>
<string name="c_var_my">My</string>
</resources>

View File

@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<style name="cpp_default_digit_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/gray_button</item>
</style>
<style name="cpp_default_dialog_style">
<item name="android:padding">6dp</item>
</style>
<style name="cpp_default_control_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/gray_button_dark</item>
</style>
<style name="cpp_default_operation_button_style" parent="cpp_default_digit_button_style">
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
</style>
<style name="cpp_default_control_image_button_style" parent="cpp_default_control_button_style">
<item name="android:padding">6dp</item>
</style>
<style name="cpp_default_fragment_list_view_item_style">
</style>
<style name="cpp_default_fragment_list_view_style">
<item name="android:id">@android:id/list</item>
<item name="android:divider">@null</item>
<item name="android:dividerHeight">0dp</item>
<item name="android:cacheColorHint">@android:color/transparent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:fadingEdge">none</item>
<item name="android:layout_marginBottom">@dimen/cpp_pane_padding</item>
</style>
<style name="cpp_default_fragment_title_style">
<item name="android:textColor">@android:color/white</item>
<item name="android:textSize">@dimen/cpp_fragment_title_text_size</item>
</style>
<style name="cpp_default_button_style" parent="cpp_button_style">
<item name="android:paddingTop">5dp</item>
<item name="android:paddingBottom">5dp</item>
<item name="android:paddingLeft">10dp</item>
<item name="android:paddingRight">10dp</item>
</style>
<style name="cpp_default_pane_style_transparent" parent="cpp_default_pane_style">
<item name="android:background">@android:color/transparent</item>
<item name="android:padding">0dp</item>
</style>
<style name="cpp_default_pane_style">
<item name="android:layout_marginLeft">@dimen/cpp_pane_margin</item>
<item name="android:layout_marginTop">@dimen/cpp_pane_margin</item>
<item name="android:padding">@dimen/cpp_pane_padding</item>
<item name="android:background">@drawable/pane_background</item>
</style>
<style name="cpp_default_main_multi_pane_layout_style" parent="cpp_default_main_layout_style">
<item name="android:paddingRight">@dimen/cpp_pane_padding</item>
<item name="android:paddingBottom">@dimen/cpp_pane_padding</item>
</style>
<style name="cpp_default_fragment_multi_pane_layout_style" parent="cpp_default_fragment_layout_style">
</style>
<style name="cpp_default_fragment_layout_style">
<item name="android:layout_margin">0dp</item>
<item name="android:padding">0dp</item>
<item name="android:orientation">vertical</item>
</style>
<style name="cpp_default_main_layout_style">
<item name="android:background">@color/cpp_default_background</item>
<item name="android:baselineAligned">false</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_width">match_parent</item>
</style>
<style name="cpp_onscreen_main_layout_style" parent="cpp_default_main_layout_style">
<item name="android:layout_height">400dp</item>
<item name="android:layout_width">250dp</item>
</style>
<style name="cpp_default_actionbar_style" parent="@style/Widget.Sherlock.ActionBar">
<item name="background">@drawable/default_abs__ab_transparent_dark_holo</item>
<item name="android:background">@drawable/default_abs__ab_transparent_dark_holo</item>
</style>
<style name="cpp_default_actionbar_tab_style" parent="@style/Widget.Sherlock.ActionBar.TabView">
<item name="background">@drawable/default_abs__tab_indicator_ab_holo</item>
<item name="android:background">@drawable/default_abs__tab_indicator_ab_holo</item>
</style>
<style name="cpp_default_actionbar_close_button_style" parent="@style/Widget.Sherlock.ActionButton.CloseMode">
<item name="android:background">@drawable/default_abs__btn_cab_done_holo_dark</item>
<item name="background">@drawable/default_abs__btn_cab_done_holo_dark</item>
</style>
<style name="cpp_default_actionbar_dropdown_style" parent="@style/Widget.Sherlock.Spinner.DropDown.ActionBar">
<item name="android:background">@drawable/default_abs__spinner_ab_holo_dark</item>
<item name="background">@drawable/default_abs__spinner_ab_holo_dark</item>
</style>
<style name="cpp_default_actionbar_dropdown_listview_style" parent="@style/Widget.Sherlock.ListView.DropDown">
<item name="android:listSelector">@drawable/default_abs__list_selector_holo_dark</item>
<!--<item name="listSelector">@drawable/default_abs__list_selector_holo_dark</item>-->
</style>
<style name="cpp_gray_theme" parent="Theme.Sherlock">
<!-- buttons -->
<item name="cpp_digit_button_style">@style/cpp_default_digit_button_style</item>
<item name="cpp_control_button_style">@style/cpp_default_control_button_style</item>
<item name="cpp_control_image_button_style">@style/cpp_default_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/cpp_default_operation_button_style</item>
<!-- other -->
<item name="cpp_fragment_title_style">@style/cpp_default_fragment_title_style</item>
<item name="cpp_fragment_list_view_style">@style/cpp_default_fragment_list_view_style</item>
<item name="cpp_fragment_list_view_item_style">@style/cpp_default_fragment_list_view_item_style</item>
<item name="cpp_button_style">@style/cpp_default_button_style</item>
<item name="cpp_main_layout_style">@style/cpp_default_main_layout_style</item>
<item name="cpp_main_multi_pane_layout_style">@style/cpp_default_main_multi_pane_layout_style</item>
<item name="cpp_fragment_layout_style">@style/cpp_default_fragment_layout_style</item>
<item name="cpp_dialog_style">@style/cpp_default_dialog_style</item>
<item name="cpp_pane_style">@style/cpp_default_pane_style</item>
<item name="cpp_pane_style_transparent">@style/cpp_default_pane_style_transparent</item>
<!-- action bar-->
<item name="actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
<item name="android:actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
<item name="actionBarStyle">@style/cpp_default_actionbar_style</item>
<item name="android:actionBarStyle">@style/cpp_default_actionbar_style</item>
<item name="actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
<item name="android:actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
<item name="actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
<item name="android:actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
<item name="actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
<item name="android:actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
<item name="dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>
<item name="android:dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>
</style>
</resources>

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<style name="light_blue_digit_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/blue_button</item>
</style>
<style name="light_blue_control_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/blue_button_dark</item>
</style>
<style name="light_blue_operation_button_style" parent="light_blue_digit_button_style">
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
</style>
<style name="light_blue_control_image_button_style" parent="light_blue_control_button_style">
<item name="android:padding">6dp</item>
</style>
<style name="cpp_light_blue_theme" parent="cpp_gray_theme">
<item name="cpp_digit_button_style">@style/light_blue_digit_button_style</item>
<item name="cpp_control_button_style">@style/light_blue_control_button_style</item>
<item name="cpp_control_image_button_style">@style/light_blue_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/light_blue_operation_button_style</item>
</style>
</resources>

View File

@@ -0,0 +1,58 @@
<resources>
<style name="metro_digit_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/metro_button_dark</item>
</style>
<style name="metro_control_button_style" parent="metro_digit_button_style">
<item name="android:background">@drawable/metro_button_light</item>
</style>
<style name="onscreen_header_button_style" parent="metro_control_button_style">
<item name="android:layout_width">30dp</item>
<item name="android:layout_height">30dp</item>
<item name="android:layout_weight">0</item>
<item name="android:padding">0dp</item>
<item name="android:textSize">@dimen/cpp_onscreen_header_button_text_size</item>
</style>
<style name="metro_blue_operation_button_style" parent="metro_digit_button_style">
<item name="android:background">@drawable/metro_blue_button</item>
</style>
<style name="metro_control_image_button_style" parent="metro_control_button_style">
<item name="android:padding">6dp</item>
</style>
<style name="metro_blue_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
<item name="background">@drawable/metro_blue_list_item</item>
<item name="android:background">@drawable/metro_blue_list_item</item>
</style>
<style name="metro_blue_actionbar_style" parent="@style/Widget.Sherlock.ActionBar">
<item name="background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
<item name="android:background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
</style>
<style name="metro_blue_actionbar_tab_style" parent="cpp_default_actionbar_tab_style">
<item name="background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
<item name="android:background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
</style>
<style name="cpp_metro_blue_theme" parent="cpp_gray_theme">
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
<item name="cpp_control_image_button_style">@style/metro_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/metro_blue_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_blue_fragment_list_view_item_style</item>
<!--action bar-->
<!-- <item name="actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
<item name="android:actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
<item name="actionBarStyle">@style/metro_blue_actionbar_style</item>
<item name="android:actionBarStyle">@style/metro_blue_actionbar_style</item>-->
</style>
</resources>

View File

@@ -0,0 +1,17 @@
<resources>
<style name="metro_green_operation_button_style" parent="metro_digit_button_style">
<item name="android:background">@drawable/metro_button_green</item>
</style>
<style name="metro_green_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
<item name="background">@drawable/metro_green_list_item</item>
<item name="android:background">@drawable/metro_green_list_item</item>
</style>
<style name="cpp_metro_green_theme" parent="cpp_metro_blue_theme">
<item name="cpp_operation_button_style">@style/metro_green_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_green_fragment_list_view_item_style</item>
</style>
</resources>

View File

@@ -0,0 +1,18 @@
<resources>
<style name="metro_purple_operation_button_style" parent="metro_digit_button_style">
<item name="android:background">@drawable/metro_button_purple</item>
</style>
<style name="metro_purple_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
<item name="background">@drawable/metro_purple_list_item</item>
<item name="android:background">@drawable/metro_purple_list_item</item>
</style>
<style name="cpp_metro_purple_theme" parent="cpp_metro_blue_theme">
<item name="cpp_operation_button_style">@style/metro_purple_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_purple_fragment_list_view_item_style</item>
</style>
</resources>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<resources>
<style name="violet_digit_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/violet_button</item>
</style>
<style name="violet_operation_button_style" parent="violet_digit_button_style">
<item name="android:textColor">@color/cpp_button_operator_text_color</item>
</style>
<style name="violet_control_button_style" parent="cpp_keyboard_button_style">
<item name="android:background">@drawable/violet_button_dark</item>
</style>
<style name="violet_control_image_button_style" parent="violet_control_button_style">
<item name="android:padding">6dp</item>
</style>
<style name="cpp_violet_theme" parent="cpp_gray_theme">
<item name="cpp_digit_button_style">@style/violet_digit_button_style</item>
<item name="cpp_control_button_style">@style/violet_control_button_style</item>
<item name="cpp_control_image_button_style">@style/violet_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/violet_operation_button_style</item>
</style>
</resources>