Commit graph

69 commits

Author SHA1 Message Date
tibbi
12a07c0fcc keep the numbers properly formatted at clearing digits 2016-01-21 23:03:19 +01:00
tibbi
c90c123971 allow writing zeroes as decimal values 2016-01-21 22:59:56 +01:00
tibbi
82479f4854 add a sample file to see how are the constants in gradle.properties set 2016-01-21 20:04:47 +01:00
Tibor Kaputa
cd7eb9ca09 updating the license year 2016-01-10 13:27:50 +01:00
tibbi
6578a6a02d add a comma as group separator per 3 digits 2016-01-08 21:06:12 +01:00
tibbi
24d6dfbfac change the widget config buttons background 2016-01-07 20:07:46 +01:00
tibbi
186adbb5bb renaming a variable 2016-01-06 18:42:10 +01:00
tibbi
d57e20327b remove simple_calculator from the package name
- no functionality changes
2016-01-06 13:57:34 +01:00
tibbi
cfb013af6e create an app keystore and sign it 2016-01-04 23:19:39 +01:00
tibbi
61cc6061e9 make the result and formula textview font scale automatically
- works only in the app, not in the widget
- we have to leave the textviews as TextView type, else the widget breaks totally
2016-01-04 21:56:34 +01:00
tibbi
39227c7e5f add some Formula tests 2016-01-03 21:52:39 +01:00
tibbi
fe5efdd3c3 write the formula above the result 2016-01-03 21:30:49 +01:00
tibbi
1a7cd32464 reset saved widget value on AC 2016-01-03 20:29:47 +01:00
tibbi
cb12d04111 moving shared preferences initialization 2016-01-03 19:35:37 +01:00
tibbi
feaa8f2de7 minor refactoring 2016-01-03 17:31:17 +01:00
tibbi
4448b988cb change a constants' value for consistency 2016-01-03 17:26:10 +01:00
tibbi
9b4f82bc2e implement a slider for setting the widget background opacity 2016-01-03 17:25:23 +01:00
tibbi
8960387b48 remove the RelativeLayout wrapping the calculator 2016-01-03 16:10:55 +01:00
tibbi
dc09b69235 remove ripple effect and make buttons transparent
- they will inherit the backgrounds' color
2016-01-03 15:34:59 +01:00
tibbi
58a50e97a1 some widget corrections to make it work properly even when idle for a long time 2016-01-03 14:32:03 +01:00
tibbi
9037b9d8fe add ripple effect to buttons 2016-01-03 00:11:46 +01:00
tibbi
9f07615348 couple more UI changes 2016-01-02 23:03:32 +01:00
tibbi
f5d7c3e829 force portrait mode for now 2016-01-02 18:49:02 +01:00
tibbi
e423258a04 move the Button text size back to style 2016-01-02 18:47:16 +01:00
tibbi
ad9c907f12 improve the widget config screen + style changes 2016-01-02 18:41:18 +01:00
tibbi
fed4e15afb set the button text size directly, not through a style 2016-01-02 14:52:14 +01:00
tibbi
7389ec8dbc display a title bar at the widget config activity 2016-01-01 22:17:03 +01:00
tibbi
fb5ccc50dc create a simple widget config activity 2016-01-01 21:13:04 +01:00
tibbi
80f5637a9f remove a check at handleOperation 2016-01-01 19:43:09 +01:00
tibbi
e004d15c10 remove all paddings except the top one 2016-01-01 19:34:10 +01:00
tibbi
66dc345c1b add a AC (reset) button to the widget
- it does the same as long pressing the C in the app, however widgets cannot be long pressed
2015-12-30 22:34:09 +01:00
tibbi
5d75720619 change an Espresso test to add all digits 2015-12-30 20:57:30 +01:00
tibbi
4e1c556e8e add a basic home screen widget 2015-12-30 20:25:18 +01:00
tibbi
1969300620 change operation constants to strings 2015-12-30 15:35:50 +01:00
tibbi
920b8f87a6 fix Robolectric tests 2015-12-30 14:54:22 +01:00
tibbi
de3e1312ca move the functionality to an interface
- that way we can reuse all the code in the widget
2015-12-30 12:53:49 +01:00
tibbi
aecabbe7e0 use linearlayouts instead of tablelayout 2015-12-29 21:53:45 +01:00
tibbi
d37a1963de add some Espresso tests and a cheat sheet pdf 2015-12-29 16:08:51 +01:00
tibbi
a9539cdeb6 correct a Root test 2015-12-29 14:11:15 +01:00
Tibor Kaputa
f2a4535f5e Create README.md 2015-12-29 14:09:45 +01:00
tibbi
7fa8d5424f change the license to MIT 2015-12-29 13:31:50 +01:00
tibbi
ca53937aef implement an Espresso test 2015-12-29 12:49:48 +01:00
tibbi
cc856b3d05 add some more tests for the other buttons 2015-12-28 22:15:26 +01:00
tibbi
95d3b31102 add a couple tests + minor refactoring 2015-12-28 19:26:38 +01:00
tibbi
b0f64390dd setup Robolectric for tests 2015-12-26 22:35:45 +01:00
tibbi
e5e64f93fa replace Infinity at Power(x, y) with 0 2015-12-26 16:39:01 +01:00
tibbi
9d7b67ba16 implement Clear 2015-12-26 16:33:03 +01:00
tibbi
aa6ebd00b3 implement Root 2015-12-26 14:24:52 +01:00
tibbi
0e216ad692 implement Power(x, y) 2015-12-26 14:04:45 +01:00
tibbi
08dccc68ba implement Modulo 2015-12-25 14:39:26 +01:00