round brackets button

This commit is contained in:
Sergey Solovyev 2013-07-18 11:56:17 +04:00
parent 525165a0c8
commit 9297cfaf4b
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
a:id="@id/cpp_button_round_brackets"
c:textUp="("
a:text="( )"
a:text="( )"
c:textDown=")"
c:textLeft="(…)"
c:directionTextScale="0.5;0.5;0.5;0.33"

View File

@ -88,7 +88,7 @@ public class CalculatorKeyboardImpl implements CalculatorKeyboard {
@Nonnull
private String prepareText(@Nonnull String text) {
if ("( )".equals(text)) {
if ("( )".equals(text) || "( )".equals(text)) {
return "()";
} else {
return text;