summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attr.xml26
-rw-r--r--res/values/color.xml68
-rw-r--r--res/values/dimens.xml44
-rw-r--r--res/values/layout.xml23
-rw-r--r--res/values/strings.xml318
-rw-r--r--res/values/styles.xml136
-rw-r--r--res/values/themes.xml39
7 files changed, 0 insertions, 654 deletions
diff --git a/res/values/attr.xml b/res/values/attr.xml
deleted file mode 100644
index 825fc9f..0000000
--- a/res/values/attr.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android">
-
- <declare-styleable name="CalculatorFormula">
- <attr name="minTextSize" format="dimension" />
- <attr name="maxTextSize" format="dimension" />
- <attr name="stepTextSize" format="dimension" />
- </declare-styleable>
-
-</resources>
diff --git a/res/values/color.xml b/res/values/color.xml
deleted file mode 100644
index 2f6475f..0000000
--- a/res/values/color.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources>
-
- <!-- Default accent color. -->
- <color name="calculator_accent_color">#0097A7</color>
-
- <!-- Primary color (Color for the toolbars). -->
- <color name="calculator_primary_color">#00BCD4</color>
-
- <!-- Status bar color. -->
- <color name="calculator_statusbar_color">#0096A9</color>
-
- <!-- Color to indicate an error has occured. -->
- <color name="calculator_error_color">#C2185B</color>
-
- <!-- Background color of the calculator display. -->
- <color name="display_background_color">#FFF</color>
-
- <!-- Text color for the formula in the calculator display. -->
- <color name="display_formula_text_color">#000000</color>
-
- <!-- Text color for the result in the calculator display. -->
- <color name="display_result_text_color">#6C000000</color>
-
- <!-- Lighter color for exponent while scrolling. -->
- <color name="display_result_exponent_text_color">#40000000</color>
-
- <!-- Background color for the numeric pad. -->
- <color name="pad_numeric_background_color">#434343</color>
-
- <!-- Background color for the operator pad. -->
- <color name="pad_operator_background_color">#636363</color>
-
- <!-- Background color for the advanced pad. -->
- <color name="pad_advanced_background_color">#1DE9B6</color>
-
- <!-- Text color for a button in a pad. -->
- <color name="pad_button_text_color">#FFF</color>
-
- <!-- Text color for a button in the advanced pad. -->
- <color name="pad_button_advanced_text_color">#99000000</color>
-
- <!-- Ripple color when a button is pressed in a pad. -->
- <color name="pad_button_ripple_color">#33FFFFFF</color>
-
- <!-- Ripple color when a button is pressed in a pad. -->
- <color name="pad_button_advanced_ripple_color">#1A000000</color>
-
- <!-- Background color for empty history view. -->
- <color name="empty_history_color">#EEEEEE</color>
-
-</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
deleted file mode 100644
index 827097a..0000000
--- a/res/values/dimens.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources>
-
- <!-- The margin between the pad pages when displayed using a view pager. -->
- <dimen name="pad_page_margin">24dip</dimen>
-
- <dimen name="history_divider_padding">14dip</dimen>
-
- <dimen name="history_item_text_padding_top">8dip</dimen>
- <dimen name="history_item_text_padding_bottom">16dip</dimen>
-
- <!-- Dimens for display formula. -->
- <dimen name="formula_padding_top">0dip</dimen>
- <dimen name="formula_padding_bottom">8dip</dimen>
- <dimen name="formula_padding_start">16dip</dimen>
- <dimen name="formula_padding_end">16dip</dimen>
- <dimen name="formula_min_textsize">28dip</dimen>
- <dimen name="formula_max_textsize">28dip</dimen>
- <dimen name="formula_step_textsize">8dip</dimen>
-
- <!-- Dimens for display result. -->
- <dimen name="result_padding_top">0dip</dimen>
- <dimen name="result_padding_bottom">8dip</dimen>
- <dimen name="result_padding_start">16dip</dimen>
- <dimen name="result_padding_end">16dip</dimen>
- <dimen name="result_textsize">28dip</dimen>
-
-</resources> \ No newline at end of file
diff --git a/res/values/layout.xml b/res/values/layout.xml
deleted file mode 100644
index 0e698d5..0000000
--- a/res/values/layout.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2016 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources>
- <item name="activity_calculator" type="layout">@layout/activity_calculator_port</item>
- <item name="display" type="layout">@layout/display_one_line</item>
- <item name="pad_operator" type="layout">@layout/pad_operator_one_col</item>
- <item name="pad_advanced" type="layout">@layout/pad_advanced_4x4</item>
-</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
deleted file mode 100644
index 762378a..0000000
--- a/res/values/strings.xml
+++ /dev/null
@@ -1,318 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources>
-
- <!-- Name of the application. [CHAR_LIMIT=NONE] -->
- <string name="app_name">Calculator</string>
-
- <!-- Constant for Euler's number (i.e. "2.7182…"). [CHAR_LIMIT=1] -->
- <string name="const_e" translatable="false">e</string>
- <!-- Constant for pi (i.e. "3.1415…"). [CHAR_LIMIT=1] -->
- <string name="const_pi" translatable="false">π</string>
-
- <!-- Left parenthesis (e.g. "log(", "2 × (3 - 1)". [CHAR_LIMIT=1] -->
- <string name="lparen" translatable="false">(</string>
- <!-- Right parenthesis (e.g. "log(2)", "(3 - 1) × 2". [CHAR_LIMIT=1] -->
- <string name="rparen" translatable="false">)</string>
-
- <!--
- Decimal separator (e.g. "1.23" or "1,23").
-
- This should be whatever character is appropriate for use as a decimal sign for a given locale
- when used with Arabic numerals (i.e. 0, 1, 2, 3, ...)
-
- [CHAR_LIMIT=1]
- -->
- <string name="dec_point">.</string>
-
- <!-- Decimal representation of zero (e.g. "0", "10", "1.0", "1e0"). [CHAR_LIMIT=1] -->
- <string name="digit_0" translatable="false">0</string>
- <!-- Decimal representation of one (e.g. "1", "11", "1.1", "1e1"). [CHAR_LIMIT=1] -->
- <string name="digit_1" translatable="false">1</string>
- <!-- Decimal representation of two (e.g. "2", "22", "2.2", "2e2"). [CHAR_LIMIT=1] -->
- <string name="digit_2" translatable="false">2</string>
- <!-- Decimal representation of three (e.g. "3", "33", "3.3", "3e3"). [CHAR_LIMIT=1] -->
- <string name="digit_3" translatable="false">3</string>
- <!-- Decimal representation of four (e.g. "4", "44", "4.4", "4e4"). [CHAR_LIMIT=1] -->
- <string name="digit_4" translatable="false">4</string>
- <!-- Decimal representation of five (e.g. "5", "55", "5.5", "5e5"). [CHAR_LIMIT=1] -->
- <string name="digit_5" translatable="false">5</string>
- <!-- Decimal representation of six (e.g. "6", "66", "6.6", "6e6"). [CHAR_LIMIT=1] -->
- <string name="digit_6" translatable="false">6</string>
- <!-- Decimal representation of seven (e.g. "7", "77", "7.7", "7e7"). [CHAR_LIMIT=1] -->
- <string name="digit_7" translatable="false">7</string>
- <!-- Decimal representation of eight (e.g. "8", "88", "8.8", "8e8"). [CHAR_LIMIT=1] -->
- <string name="digit_8" translatable="false">8</string>
- <!-- Decimal representation of eight (e.g. "9", "99", "9.9", "9e9"). [CHAR_LIMIT=1] -->
- <string name="digit_9" translatable="false">9</string>
-
- <!-- Addition operator (e.g. "1 + 2"). [CHAR_LIMIT=1] -->
- <string name="op_add" translatable="false">+</string>
- <!-- Divide operator (e.g. "1 ÷ 2"). [CHAR_LIMIT=1] -->
- <string name="op_div" translatable="false">÷</string>
- <!-- Factorial operator (e.g. "2!"). [CHAR_LIMIT=1] -->
- <string name="op_fact" translatable="false">!</string>
- <!-- Multiply operator (e.g. "1 × 2"). [CHAR_LIMIT=1] -->
- <string name="op_mul" translatable="false">×</string>
- <!-- Percent operator (e.g. "25%"). [CHAR_LIMIT=1] -->
- <string name="op_pct" translatable="false">%</string>
- <!-- Power operator (e.g. "1 ^ 2"). [CHAR_LIMIT=1] -->
- <string name="op_pow" translatable="false">^</string>
- <!-- Square root operator (e.g. "√1"). [CHAR_LIMIT=1] -->
- <string name="op_sqrt" translatable="false">√</string>
- <!-- Subtraction operator (e.g. "1 - 2"). [CHAR_LIMIT=1] -->
- <string name="op_sub" translatable="false">−</string>
-
- <!-- Abbrev. name of cosine function (e.g. "cos(π)"). [CHAR_LIMIT=4] -->
- <string name="fun_cos" translatable="false">cos</string>
- <!-- Natural logarithm function (e.g. "ln(2)"). [CHAR_LIMIT=4] -->
- <string name="fun_ln" translatable="false">ln</string>
- <!-- Logarithm function (e.g. "log(10)"). [CHAR_LIMIT=4] -->
- <string name="fun_log" translatable="false">log</string>
- <!-- Abbrev. name of sine function (e.g. "sin(π)"). [CHAR_LIMIT=4] -->
- <string name="fun_sin" translatable="false">sin</string>
- <!-- Abbrev. name of tangent function (e.g. "tan(π)"). [CHAR_LIMIT=4] -->
- <string name="fun_tan" translatable="false">tan</string>
- <!-- Abbrev. name of cosine function (e.g. "arccos(π)"). [CHAR_LIMIT=5] -->
- <string name="fun_arccos" translatable="false">cos\u207B\u00B9</string>
- <!-- Abbrev. name of sine function (e.g. "arcsin(π)"). [CHAR_LIMIT=5] -->
- <string name="fun_arcsin" translatable="false">sin\u207B\u00B9</string>
- <!-- Abbrev. name of tangent function (e.g. "arctan(π)"). [CHAR_LIMIT=5] -->
- <string name="fun_arctan" translatable="false">tan\u207B\u00B9</string>
-
- <!-- Abbrev. name of base 10 exponential function (e.g. "10^6"). [CHAR_LIMIT=5] -->
- <string name="fun_10pow" translatable="false">10\u02E3</string>
- <!-- Abbrev. name of exponential function (e.g. "e^6"). [CHAR_LIMIT=5] -->
- <string name="fun_exp" translatable="false">e\u02E3</string>
- <!-- Abbrev. name of suffix square function on key (e.g. "17^2"). [CHAR_LIMIT=5] -->
- <string name="op_sqr" translatable="false">x\u00B2</string>
- <!--
- Abbrev. name of suffix square function in formula.
- "^2" does not work, since it blends into a later constant.
- -->
- <string name="squared" translatable="false">²</string>
- <!-- Abbrev. name of exponential function in formula. -->
- <string name="exponential" translatable = "false">exp</string>
-
- <!-- Abbrev. name of degree mode [CHAR_LIMIT=4] -->
- <string name="mode_deg">deg</string>
- <!-- Abbrev. name of radian mode. [CHAR_LIMIT=4] -->
- <string name="mode_rad">rad</string>
-
- <!-- Equals button (e.g. "1 + 2 = ?"). [CHAR_LIMIT=1] -->
- <string name="eq" translatable="false">=</string>
- <!-- Clear button to clear the currently entered expression. [CHAR_LIMIT=4] -->
- <string name="clr">clr</string>
- <!--
- Announced when all characters are removed from Formula, e.g. after clear. [CHAR_LIMIT=NONE]
- -->
- <string name="cleared">cleared</string>
- <!-- Delete button to remove last entered token. [CHAR_LIMIT=4] -->
- <string name="del">del</string>
- <!-- Toggle button to show/hide inverse functions. [CHAR_LIMIT=4] -->
- <string name="inv" translatable="false">inv</string>
-
- <!--
- Item on Formula context menu used to paste from the Memory into the edit field. [CHAR_LIMIT=2]
- -->
- <string name="memory_recall" translatable="false">MR</string>
- <!-- Item on Result context menu used to store the result in memory. [CHAR_LIMIT=2]
- -->
- <string name="memory_store" translatable="false">MS</string>
- <!-- Item on Result context menu, which subtracts the current result from the number in memory.
- [CHAR_LIMIT=2]
- -->
- <string name="memory_subtract" translatable="false">M\u2212</string>
- <!-- Item on Result context menu, which adds the current result to the number in memory.
- [CHAR_LIMIT=2]
- -->
- <string name="memory_add" translatable="false">M+</string>
-
- <!-- Content description for 'e' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_const_e">Euler\'s number</string>
- <!-- Content description for 'π' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_const_pi">pi</string>
-
- <!-- Content description for '.' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_dec_point">point</string>
-
- <!-- Content description for '(' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_lparen">left parenthesis</string>
- <!-- Content description for ')' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_rparen">right parenthesis</string>
-
- <!-- Content description for 'cos' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_cos">cosine</string>
- <!-- Content description for 'ln' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_ln">natural logarithm</string>
- <!-- Content description for 'log' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_log">logarithm</string>
- <!-- Content description for 'sin' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_sin">sine</string>
- <!-- Content description for 'tan' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_tan">tangent</string>
- <!-- Content description for 'arccos' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_arccos">inverse cosine</string>
- <!-- Content description for 'arcsin' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_arcsin">inverse sine</string>
- <!-- Content description for 'arctan' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_arctan">inverse tangent</string>
-
- <!--
- Content description for 10^ button. This button is used to raise 10 to the subsequently
- entered power. E.g. <10^>3 would yield 1000.
- [CHAR_LIMIT=NONE]
- -->
- <string name="desc_fun_10pow">ten to the power of</string>
- <!-- Content description for e^ (exponential function) button. [CHAR_LIMIT=NONE] -->
- <string name="desc_fun_exp">exponential function</string>
- <!--
- Content description for ^2 button. This button is used to square the previously entered
- number. E.g. 3<^2> would yield 9.
- [CHAR_LIMIT=NONE]
- -->
- <string name="desc_op_sqr">squared</string>
-
- <!-- Content description for '+' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_add">plus</string>
- <!-- Content description for '÷' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_div">divide</string>
- <!-- Content description for '!' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_fact">factorial</string>
- <!-- Content description for '×' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_mul">multiply</string>
- <!-- Content description for '%' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_pct">percent</string>
- <!-- Content description for '^' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_pow">power</string>
- <!-- Content description for '√' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_sqrt">square root</string>
- <!-- Content description for '-' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_op_sub">minus</string>
-
- <!-- Content description for degree mode. [CHAR_LIMIT=NONE] -->
- <string name="desc_mode_deg">degree mode</string>
- <!-- Content description for radian mode. [CHAR_LIMIT=NONE] -->
- <string name="desc_mode_rad">radian mode</string>
-
- <!-- Content description for switch to degree button. [CHAR_LIMIT=NONE] -->
- <string name="desc_switch_deg">switch to degrees</string>
- <!-- Content description for switch to radian button. [CHAR_LIMIT=NONE] -->
- <string name="desc_switch_rad">switch to radians</string>
-
- <!-- Content description for '=' button. [CHAR_LIMIT=NONE] -->
- <string name="desc_eq">equals</string>
- <!-- Content description for "clr" button. Deletes entire formula. [CHAR_LIMIT=NONE] -->
- <string name="desc_clr">clear</string>
- <!--
- Content description for "del" button. Deletes single character. Should differ
- from desc_clr. [CHAR_LIMIT=NONE]
- -->
- <string name="desc_del">delete</string>
- <!-- Content description for "inv" button to show inverse functions. [CHAR_LIMIT=NONE] -->
- <string name="desc_inv_off">show inverse functions</string>
- <!-- Content description for "inv" button to hide inverse functions. [CHAR_LIMIT=NONE] -->
- <string name="desc_inv_on">hide inverse functions</string>
-
- <!-- Content description for formula field when it is empty. [CHAR_LIMIT=NONE] -->
- <string name="desc_formula">No formula</string>
- <!-- Content description for result field when it is empty. [CHAR_LIMIT=NONE] -->
- <string name="desc_result">No result</string>
-
- <!-- Content description for the numeric/operation pad when slide-able. [CHAR_LIMIT=NONE] -->
- <string name="desc_num_pad">Numbers and basic operations</string>
- <!-- Content description for the advanced pad when slide-able. [CHAR_LIMIT=NONE] -->
- <string name="desc_adv_pad">Advanced operations</string>
- <!-- Content description for the pad pages when slide-able. -->
- <string-array name="desc_pad_pages" translatable="false">
- <item>@string/desc_num_pad</item>
- <item>@string/desc_adv_pad</item>
- </string-array>
-
- <!-- Error displayed when expression evaluates to an undefined result. [CHAR_LIMIT=20] -->
- <string name="error_nan">Not a number</string>
- <!-- Error displayed when expression contains a syntax error. [CHAR_LIMIT=20] -->
- <string name="error_syntax">Bad expression</string>
- <!-- Error displayed when evaluation is manually aborted. [CHAR_LIMIT=20] -->
- <string name="error_aborted">Aborted</string>
- <!-- Error displayed when excessive precision is required. [CHAR_LIMIT=20] -->
- <string name="error_overflow">Infinite?</string>
- <!--
- Error displayed when division by zero is detected.
-
- If the translation does not fit within the given limit, then a shortened version must
- be used, e.g. "Division by 0". Exceeding the limit will result in a truncated string.
-
- [CHAR_LIMIT=20]
- -->
- <string name="error_zero_divide">Can\'t divide by 0</string>
-
- <!-- Toast shown when text is copied to the clipboard. [CHAR_LIMIT=40] -->
- <string name="text_copied_toast">Text copied</string>
-
- <!-- Dialog message when a computation is cancelled by the user. [CHAR_LIMIT=NONE] -->
- <string name="cancelled">Computation cancelled.</string>
- <!-- Dialog message when a computation times out. [CHAR_LIMIT=NONE] -->
- <string name="timeout">Value may be infinite or undefined.</string>
- <!--
- Button label to allow future computations with a longer timeout.
-
- When evaluating a result takes too long, we show a "timed out" dialog. This button allows
- the user to increase the maximum amount of time we attempt to evaluate the expression before
- "timing out".
-
- [CHAR_LIMIT=40]
- -->
- <string name="ok_remove_timeout">Use longer timeouts</string>
- <!-- Button label to dismiss informative text message. [CHAR_LIMIT=40] -->
- <string name="dismiss">Dismiss</string>
- <!-- Appended indicator (for "leading" display) that result is exact. [CHAR_LIMIT=NONE] -->
- <string name="exact">(exact)</string>
- <!-- Indicator (for "leading" display) that result is inexact. [CHAR_LIMIT=NONE] -->
- <string name="approximate">(±1 in last digit)</string>
-
- <!-- Menu option to display result including leading digits. [CHAR_LIMIT=40] -->
- <string name="menu_leading">Answer with leading digits</string>
- <!-- Menu option to display result as fraction. [CHAR_LIMIT=40] -->
- <string name="menu_fraction">Answer as fraction</string>
- <!-- Menu option to view the app's open source licenses. [CHAR_LIMIT=40] -->
- <string name="menu_licenses">Open source licenses</string>
- <!-- Menu option to access calculation history. [CHAR_LIMIT=40] -->
- <string name="menu_history">History</string>
- <!-- Menu option to clear calculation history and memory. [CHAR_LIMIT=40] -->
- <string name="menu_clear_history">Clear</string>
-
- <!-- Action bar title in history page. [CHAR_LIMIT=40] -->
- <string name="title_history">History</string>
- <!-- Action bar navigate up description in history page. [CHAR_LIMIT=40] -->
- <string name="desc_navigate_up">Navigate up</string>
-
- <!-- Title for alert dialog when calculation takes too long (timeout). [CHAR_LIMIT=30] -->
- <string name="dialog_timeout">Timeout</string>
-
- <!--
- Message for alert dialog when user is about to clear history and memory. [CHAR_LIMIT=NONE]
- -->
- <string name="dialog_clear">Clear history and memory?</string>
-
- <!-- Title for "current expression" in history page. [CHAR_LIMIT=40] -->
- <string name="title_current_expression">Current Expression</string>
- <!-- Placeholder string when there is no history to be shown. [CHAR_LIMIT=40] -->
- <string name="no_history">No History</string>
-
-</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
deleted file mode 100644
index 3cf2e38..0000000
--- a/res/values/styles.xml
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2014 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android">
-
- <style name="DisplayTextStyle" parent="@android:style/Widget.Material.Light.TextView">
- <item name="android:cursorVisible">false</item>
- <item name="android:fontFamily">sans-serif-light</item>
- <item name="android:includeFontPadding">false</item>
- <item name="android:gravity">bottom|end</item>
- <item name="android:textAlignment">viewEnd</item>
- </style>
-
- <style name="DisplayTextStyle.Formula">
- <item name="android:paddingTop">@dimen/formula_padding_top</item>
- <item name="android:paddingBottom">@dimen/formula_padding_bottom</item>
- <item name="android:paddingStart">@dimen/formula_padding_start</item>
- <item name="android:paddingEnd">@dimen/formula_padding_end</item>
- <item name="android:gravity">bottom</item>
- <item name="minTextSize">@dimen/formula_min_textsize</item>
- <item name="maxTextSize">@dimen/formula_max_textsize</item>
- <item name="stepTextSize">@dimen/formula_step_textsize</item>
- </style>
-
- <style name="DisplayTextStyle.Result">
- <item name="android:paddingTop">@dimen/result_padding_top</item>
- <item name="android:paddingBottom">@dimen/result_padding_bottom</item>
- <item name="android:paddingStart">@dimen/result_padding_start</item>
- <item name="android:paddingEnd">@dimen/result_padding_end</item>
- <item name="android:gravity">bottom</item>
- <item name="android:textSize">@dimen/result_textsize</item>
- </style>
-
- <style name="HistoryItemTextStyle" parent="DisplayTextStyle">
- <item name="android:layout_gravity">bottom|end</item>
- <item name="android:paddingTop">@dimen/history_item_text_padding_top</item>
- <item name="android:paddingBottom">@dimen/history_item_text_padding_bottom</item>
- <!-- Note: result_padding_start == formula_padding_start. -->
- <item name="android:paddingStart">@dimen/result_padding_start</item>
- <item name="android:paddingEnd">@dimen/result_padding_end</item>
- <item name="android:textSize">@dimen/result_textsize</item>
- </style>
-
- <style name="PadButtonStyle" parent="@android:style/Widget.Material.Light.Button.Borderless">
- <item name="android:layout_width">0dip</item>
- <item name="android:layout_height">0dip</item>
- <item name="android:background">@drawable/pad_button_background</item>
- <item name="android:fontFamily">sans-serif-light</item>
- <item name="android:gravity">center</item>
- <item name="android:includeFontPadding">false</item>
- <item name="android:minWidth">0dip</item>
- <item name="android:minHeight">0dip</item>
- <item name="android:onClick">onButtonClick</item>
- <item name="android:textAllCaps">false</item>
- <item name="android:textColor">@color/pad_button_text_color</item>
-
- <!-- Attributes from androidx.appcompat.gridlayout -->
- <item name="layout_gravity">fill</item>
- <item name="layout_rowWeight">1</item>
- <item name="layout_columnWeight">1</item>
- </style>
-
- <style name="PadButtonStyle.Advanced">
- <item name="android:background">@drawable/pad_button_advanced_background</item>
- <item name="android:textColor">@color/pad_button_advanced_text_color</item>
- <item name="android:textSize">14dip</item>
- </style>
-
- <style name="PadButtonStyle.Advanced.Text">
- <item name="android:textAllCaps">true</item>
- <item name="android:textSize">12dip</item>
- </style>
-
- <style name="PadButtonStyle.Numeric">
- <item name="android:textSize">16dip</item>
- </style>
-
- <style name="PadButtonStyle.Numeric.Equals">
- <item name="android:visibility">visible</item>
- </style>
-
- <style name="PadButtonStyle.Operator">
- <item name="android:textSize">14dip</item>
- </style>
-
- <style name="PadButtonStyle.Operator.Text">
- <item name="android:textAllCaps">true</item>
- <item name="android:textSize">12dip</item>
- </style>
-
- <style name="PadLayoutStyle">
- <item name="android:layout_width">match_parent</item>
- <item name="android:layout_height">match_parent</item>
- </style>
-
- <style name="PadLayoutStyle.Advanced">
- <item name="android:elevation">4dip</item>
- <item name="android:paddingTop">2dip</item>
- <item name="android:paddingBottom">8dip</item>
- <item name="android:paddingStart">18dip</item>
- <item name="android:paddingEnd">18dip</item>
- </style>
-
- <style name="PadLayoutStyle.Numeric">
- <item name="android:layout_width">0dip</item>
- <item name="android:layout_weight">7</item>
- <item name="android:paddingTop">2dip</item>
- <item name="android:paddingBottom">8dip</item>
- <item name="android:paddingStart">8dip</item>
- <item name="android:paddingEnd">8dip</item>
- </style>
-
- <style name="PadLayoutStyle.Operator">
- <item name="android:layout_width">0dip</item>
- <item name="android:layout_weight">3</item>
- <item name="android:paddingTop">2dip</item>
- <item name="android:paddingBottom">8dip</item>
- <item name="android:paddingStart">4dip</item>
- <item name="android:paddingEnd">28dip</item>
- </style>
-
-</resources>
diff --git a/res/values/themes.xml b/res/values/themes.xml
deleted file mode 100644
index 36adfbe..0000000
--- a/res/values/themes.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2016 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<resources>
-
- <style name="Theme" parent="@android:style/Theme.Material.Light.DarkActionBar">
- <item name="android:colorPrimary">@color/calculator_primary_color</item>
- <item name="android:colorAccent">@color/calculator_accent_color</item>
- <item name="android:statusBarColor">@color/calculator_accent_color</item>
- <item name="android:windowSoftInputMode">stateAlwaysHidden</item>
- </style>
-
- <style name="Theme.Calculator">
- <item name="android:windowActionBar">false</item>
- <item name="android:windowActionModeOverlay">true</item>
- <item name="android:windowContentOverlay">@null</item>
- <item name="android:windowNoTitle">true</item>
- <item name="android:layoutDirection">ltr</item>
- </style>
-
- <style name="Theme.Licenses">
- <item name="android:title">@string/menu_licenses</item>
- </style>
-
-</resources>