Minus button fix
This commit is contained in:
@@ -26,21 +26,10 @@ import android.content.Context;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import org.solovyev.android.calculator.R;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.cursor_left;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.cursor_right;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.functions_detached;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.history_detached;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.like;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.open_app;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.operators_detached;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.settings_detached;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.vars_detached;
|
||||
import static org.solovyev.android.calculator.CalculatorSpecialButton.*;
|
||||
|
||||
/**
|
||||
* User: serso
|
||||
@@ -80,7 +69,7 @@ public enum CalculatorButton {
|
||||
multiplication(R.id.cpp_button_multiplication, "*"),
|
||||
division(R.id.cpp_button_division, "/"),
|
||||
plus(R.id.cpp_button_plus, "+"),
|
||||
subtraction(R.id.cpp_button_subtraction, "-"),
|
||||
subtraction(R.id.cpp_button_subtraction, "−"),
|
||||
percent(R.id.cpp_button_percent, "%"),
|
||||
power(R.id.cpp_button_power, "^"),
|
||||
|
||||
|
@@ -24,4 +24,6 @@
|
||||
<Button a:id="@id/cpp_button_subtraction"
|
||||
style="@style/cpp_simple_metro_blue_operation_button_style"
|
||||
xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:text="-" />
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:text="−"
|
||||
tools:ignore="HardcodedText" />
|
@@ -95,7 +95,7 @@
|
||||
|
||||
<include layout="@layout/cpp_simple_button_dot" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_subtraction" />
|
||||
<include layout="@layout/cpp_simple_button_minus" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_app" />
|
||||
|
||||
|
@@ -95,7 +95,7 @@
|
||||
|
||||
<include layout="@layout/cpp_simple_button_dot" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_subtraction" />
|
||||
<include layout="@layout/cpp_simple_button_minus" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_right" />
|
||||
|
||||
|
@@ -59,7 +59,7 @@
|
||||
|
||||
<include layout="@layout/cpp_simple_button_division" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_subtraction" />
|
||||
<include layout="@layout/cpp_simple_button_minus" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_erase" />
|
||||
|
||||
|
@@ -66,7 +66,7 @@
|
||||
|
||||
<include layout="@layout/cpp_simple_button_dot" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_subtraction" />
|
||||
<include layout="@layout/cpp_simple_button_minus" />
|
||||
|
||||
<include layout="@layout/cpp_simple_button_app" />
|
||||
|
||||
|
Reference in New Issue
Block a user