zeros + degree symbol
This commit is contained in:
parent
d3f342f7a4
commit
1222bed9bd
@ -9,7 +9,7 @@
|
||||
xmlns:calc="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
||||
a:id="@+id/plusButton"
|
||||
calc:directionTextScale="0.5"
|
||||
|
||||
calc:textUp="°"
|
||||
a:text="+"
|
||||
style="?digitButtonStyle"
|
||||
a:onClick="digitButtonClickHandler"/>
|
@ -10,8 +10,7 @@
|
||||
xmlns:calc="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
||||
a:id="@+id/zeroDigitButton" a:text="0"
|
||||
calc:textUp="."
|
||||
calc:textDown=","
|
||||
calc:textDown="000"
|
||||
calc:directionTextScale="0.5"
|
||||
|
||||
style="?digitButtonStyle"
|
||||
a:onClick="digitButtonClickHandler"/>
|
@ -116,13 +116,13 @@ public class DirectionDragButton extends DragButton {
|
||||
textDownPosition = getTextPosition(upDownTextPaint, basePaint, textDown, getText(), -1, getWidth(), getHeight(), getDirectionTextScale());
|
||||
}
|
||||
|
||||
if (textDownPosition != null && textUpPosition != null) {
|
||||
/*if (textDownPosition != null && textUpPosition != null) {
|
||||
if (textDownPosition.getX() > textUpPosition.getX()) {
|
||||
textDownPosition.setX(textUpPosition.getX());
|
||||
} else {
|
||||
textUpPosition.setX(textDownPosition.getX());
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user