round brackets button
This commit is contained in:
parent
525165a0c8
commit
9297cfaf4b
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user