Commit Graph

243 Commits

Author SHA1 Message Date
tibbi 7c62587628 make the activity a bit brighter 2016-06-01 15:20:11 +02:00
tibbi 61d68dd31f lets be a bit more stylish 2016-06-01 15:10:45 +02:00
tibbi b666f121b8 fix saving fix saving transparent widget background color 2016-05-31 19:44:22 +02:00
tibbi 226fd7faea small context handling change in widget 2016-05-31 17:16:17 +02:00
tibbi 7f391fc544 add a comment to proguard 2016-04-25 22:45:24 +02:00
tibbi c4139a3747 adding some empty lines 2016-04-25 22:23:03 +02:00
tibbi 22a9e52ba7 change the way we sign the app 2016-04-25 22:19:28 +02:00
tibbi 46fbd21f60 fix tests 2016-04-12 09:34:45 +02:00
tibbi 2cfbc679cd update Gradle to 2.0 2016-04-11 19:13:33 +02:00
tibbi d05ffd0351 add License in the About activity 2016-04-07 19:31:35 +02:00
tibbi 4ac9b18fd5 add a couple info in the About section 2016-04-06 23:12:17 +02:00
tibbi 42f9815fd9 add an About activity 2016-04-06 20:22:06 +02:00
tibbi 87de7daf41 do not store the calc value in Shared prefs 2016-04-04 20:02:17 +02:00
tibbi d9d571be69 add ripple only to sdk 21+ 2016-03-21 21:36:58 +01:00
tibbi 121fbdb490 add ripple effect to buttons 2016-03-21 21:30:05 +01:00
tibbi 60fb78b1c8 update the text at widget config screen 2016-02-28 16:00:47 +01:00
tibbi 57a2127491 change the package name 2016-02-28 15:56:08 +01:00
tibbi 6326d71e5e change the way we update the widget and update it every 10 hours 2016-02-28 15:52:06 +01:00
tibbi a23391ff56 one more change to widget updating 2016-02-05 19:03:47 +01:00
tibbi ccead6340b minor edit for widget updating 2016-02-05 18:54:58 +01:00
tibbi 8928509e62 allow changing the text color 2016-01-31 22:00:44 +01:00
tibbi 281abb5163 replace % with "mod" for modulo 2016-01-31 21:30:34 +01:00
tibbi 4ce5c8f0fc allow changing the widget background and text color 2016-01-31 20:45:37 +01:00
tibbi 85b790ff49 move the widget RESULT_CANCELED a bit up 2016-01-31 17:12:55 +01:00
tibbi 40316dad11 properly display the wallpaper at the widget config activity 2016-01-27 17:52:02 +01:00
tibbi cf831b5268 reset the saved value at disabling the widget 2016-01-26 20:41:37 +01:00
tibbi c5c0913eb8 remove the decimal dot if its the last character 2016-01-22 12:36:54 +01:00
tibbi 963829f4ac Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calculator 2016-01-22 12:31:32 +01:00
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 7f45ced367 comment out the release signing stuff by default 2016-01-21 11:23:00 +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
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
tibbi 9f4fc90a37 remove an unnecessary return statement 2015-12-24 23:17:08 +01:00
tibbi c6aae26f94 minor refactoring, no functionality change 2015-12-24 23:07:50 +01:00
tibbi 637c47f5b5 correct some operations after equals 2015-12-24 22:56:56 +01:00
tibbi 9b1c979be6 implement division 2015-12-24 22:48:07 +01:00
tibbi 3be2aee4d3 implement multiplication 2015-12-24 22:36:06 +01:00
tibbi 82521af7b0 implement Subtraction 2015-12-24 21:41:48 +01:00
tibbi 271bf692dd move the formatter in a separate class 2015-12-24 21:00:58 +01:00
tibbi eb40066bd2 change the app name to Simple Calculator 2015-12-24 20:41:24 +01:00
tibbi ecfa09495b implement addition 2015-12-24 20:38:58 +01:00
tibbi 0c1f8257c9 create a common function for getting the displayed number 2015-12-24 16:48:44 +01:00
tibbi 576520dc3a implement decimals and correct handling of 0 2015-12-24 16:47:18 +01:00
tibbi c84200a101 implement digit buttons 2015-12-24 15:34:45 +01:00
tibbi b41d375d10 add modulo, power, root, clear buttons 2015-12-24 13:38:41 +01:00
tibbi 4798537a3a add a display 2015-12-24 13:32:18 +01:00
tibbi 587db72953 delete the w820dp version of dimens file for now 2015-12-24 13:22:27 +01:00
tibbi 8f99d8439c increase the font size of the button texts 2015-12-24 13:20:01 +01:00
tibbi 9bcdc715dd add the basic buttons 2015-12-24 13:13:54 +01:00
tibbi 67a33593c0 creating the android project 2015-12-24 12:29:46 +01:00