The line width for painting MathObjects now depends on a static variable.
This way the line width can be set to a resource value (and therefore a density independent value can be used).
Also made the bounding box calculation code for MathBinaryOperationLinear and its children simpler, more efficient and more flexible.

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
The operations in the source drawer are now displayed correctly.
In order to do so new classes have been created that represent a source for new MathObjects.

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Removed the approximate() method from MathObject and its descendants.
It won't be necessary in the future and mixes model and view.

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
The root is now drawn and measured correctly.
Also: the centre of the divide operator is set to the centre of its operator.

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Minor fix

Signed-off-by: TimdeJonge <t.dejonge@students.uu.nl>
Merge branch 'master' into work

Conflicts:
	res/values/dimens.xml
	src/org/teaminfty/math_dragon/MainActivity.java

Conflicts fixed
Created icons for the buttons

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Implemented scaling

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
add variables
debugginng off
First implement MathConstantView

Factor working, pi/e can go on/off, no powers pi/e yet.


Signed-off-by: TimdeJonge <t.dejonge@students.uu.nl>
Merge branch 'master' into work

Conflicts:
	res/layout/fragment_main_screen.xml
	res/values/dimens.xml
	res/values/strings.xml
	src/org/teaminfty/math_dragon/MainActivity.java
update documentation and formatting. also fix bounding boxes of math-variable
MathVariable now uses the right text size

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Operands of linear binary operations are now handled correctly in the drag-and-drop interface

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Symja is now loaded at startup instead of loading it at the first calculation

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Added wolfram alpha support.
merge conflict fixed
javadocs
javadocs