Commit Graph

  • a1f344580d [#23] Prevent trailing zeros stacking up. closes #23 fabian 2023-03-03 11:45:23 +01:00
  • b3bdbfbc05 [#23] Limit input to 5 digits. fabian 2023-03-03 11:27:18 +01:00
  • a611de6da4 Add instrumented test to test repository together with room database. Improve data handling on first boot. fabian 2023-02-17 15:19:00 +01:00
  • 4108512139 Merge pull request 'release/2.0' (#22) from release/2.0 into develop fabian 2023-01-28 23:30:57 +01:00
  • 30723f7862 Merge pull request 'release/2.0' (#21) from release/2.0 into master 2.0 fabian 2023-01-28 23:29:25 +01:00
  • 661b88b961 Keep back stack of navigation controller clean. 2.0-Beta2 fabian 2023-01-28 13:06:50 +01:00
  • c41816898e Add about page. fabian 2023-01-28 12:33:45 +01:00
  • 2e8d6a7a4e Add App name to navigation drawer. fabian 2023-01-28 11:19:37 +01:00
  • ae0f85bec0 Rename screen to DrawerItem fabian 2023-01-28 10:25:07 +01:00
  • e1e25ff607 Move drawerContent to own file. fabian 2023-01-28 10:14:06 +01:00
  • 6aedb0d7f9 Navigate with enum defines. Create new TopBarState fabian 2023-01-28 10:06:58 +01:00
  • 48374c5980 Move new game back to app bar. fabian 2023-01-28 00:18:26 +01:00
  • 02213f41b6 Add default android locale. Simplify language settings. fabian 2023-01-27 23:09:08 +01:00
  • 9ae0890f71 Restyle history page fabian 2023-01-27 20:52:17 +01:00
  • cd8f1959af Simplify history page. Fix warnings. fabian 2023-01-27 20:13:14 +01:00
  • 58d4fc0e43 Show blinking cursor in keyboard view. Give focus back to last focused input. closes #12 fabian 2023-01-27 18:07:16 +01:00
  • c71b608a7b [#13] Hide keyboard in landscape. closes #13 fabian 2023-01-27 13:18:00 +01:00
  • 89f2e3ecd5 Improve default color scheme. fabian 2023-01-27 13:11:36 +01:00
  • f52bfa64ce [#18] Add a swap score button. closes #18 fabian 2023-01-27 12:36:49 +01:00
  • 4346af3d2b Improve settings composable. Remove delay before setting the theme. as this did not help [#11] fabian 2023-01-27 12:03:36 +01:00
  • ca88bd1054 Move ui variable from viewModel to compose function. Move TopBar to separate file. fabian 2023-01-23 22:12:37 +01:00
  • c54f63736e Enable drawer close gesture. fabian 2023-01-22 21:42:38 +01:00
  • 8d24e46687 Simplify database handling. fabian 2023-01-22 21:40:47 +01:00
  • f40b66077b [#11] Add a small delay before applying theme so compose has enough time to update remember states before the theme is applied. fabian 2023-01-22 20:45:45 +01:00
  • 9ca830a707 [#11] ApplyDayNight should not be used. fabian 2023-01-22 18:36:38 +01:00
  • db58e475d1 [#11] Change how settings adapter work. Directly set system settings in MainActivity. fabian 2023-01-22 17:57:51 +01:00
  • 33e57bcfd7 Show fab only on counter screen. fabian 2023-01-21 18:21:40 +01:00
  • c1567efe52 [#11] Close dropdown list first. the callback might restart the application on a settings change and keep the menu open. fabian 2023-01-21 18:12:30 +01:00
  • 4d37e77f55 Fix round index. 2.0-Beta1 fabian 2023-01-21 16:40:00 +01:00
  • 984afb610f Add counter again to navigation. fabian 2023-01-21 16:32:07 +01:00
  • c3c6c253bc no message fabian 2023-01-21 15:58:18 +01:00
  • 9189d79982 Disable gesture navigation. fabian 2023-01-21 15:55:49 +01:00
  • ad0236556e Add delete all history with confirm dialog. fabian 2023-01-21 15:48:07 +01:00
  • 52a73bf204 Simplify history card. Activate open for active game. fabian 2023-01-21 14:47:36 +01:00
  • 6d0192df18 Style game history. Add functionality to delete and open game from history. fabian 2023-01-21 13:04:45 +01:00
  • 63f213bc75 Add hide show keyboard function. Fix keyboard too big on small screens. Improve colors. fabian 2023-01-21 11:30:20 +01:00
  • 68a5d34e45 Add versions code to VersionName. fabian 2023-01-21 10:21:51 +01:00
  • 98ea66772f Fix warnings. Remove unused files. fabian 2023-01-21 10:15:59 +01:00
  • 84a63a2bcb Revert "Upload files to 'app'" fabian 2023-01-21 09:02:20 +01:00
  • c5de57c416 Upload files to 'app' fabian 2023-01-21 07:48:21 +01:00
  • 7f904f916f Fix typo. 1.1.0Beta1 fabian 2023-01-20 23:36:55 +01:00
  • c4a552ad8c Move theme to top composable. Increase button size. fabian 2023-01-20 23:14:59 +01:00
  • 45746aef0b Clean up. fabian 2023-01-20 19:33:34 +01:00
  • cd39384207 Add undo redo functionality. Move new game to navigation drawer fabian 2023-01-20 19:28:50 +01:00
  • f44b51c075 Show overflow on long text. fabian 2023-01-20 16:54:53 +01:00
  • 9ec2a0e465 Improve settings. fabian 2023-01-20 16:54:14 +01:00
  • f7ccf46b55 Beautify settings page. fabian 2023-01-20 13:55:06 +01:00
  • 0da8a508f5 Style setting screen. fabian 2023-01-20 13:01:15 +01:00
  • 90f0b09e3d Improve navigation. fabian 2023-01-20 12:20:59 +01:00
  • eac916d8ec Style keyboard. Add Counter previerw. fabian 2023-01-20 11:33:05 +01:00
  • 57bb4deebe Do some styling. fabian 2023-01-20 08:58:51 +01:00
  • 8b4ce20c99 Fix Theme fabian 2023-01-20 08:39:27 +01:00
  • bd19858834 Fix copy paste mistake fabian 2023-01-20 07:44:23 +01:00
  • 395f93ca89 Enable materialYou theme usage. fabian 2023-01-20 07:39:24 +01:00
  • 45f11d5caf Portrait mode for counter. fabian 2023-01-19 21:10:16 +01:00
  • f947c5aeb2 Color the android app bar. fabian 2023-01-19 20:13:59 +01:00
  • fb10dce89e Remove old files. Add theme and apply it fabian 2023-01-19 19:47:34 +01:00
  • e09bd26859 Update android studio. Add compose settings screen. fabian 2023-01-19 19:38:01 +01:00
  • bcc08e4605 Add actions. fabian 2023-01-13 16:14:24 +01:00
  • f2cd02e130 Use composable scaffold. fabian 2023-01-13 15:24:35 +01:00
  • 9c653d788b Fix build. Remove unneeded import. fabian 2023-01-10 11:40:37 +01:00
  • a4ccd62d72 Composify more fragments. fabian 2023-01-09 20:08:13 +01:00
  • 823d1a6ca4 Simplify composables. fabian 2023-01-08 18:47:08 +01:00
  • 0f4d008104 Remove unused code. fabian 2023-01-07 22:43:38 +01:00
  • 2ed221a99f Replace RoundList with compose. fabian 2023-01-07 22:42:21 +01:00
  • 5f6da1d7d4 Move all functionality to viewmodel. Use simple button format. fabian 2023-01-07 19:30:56 +01:00
  • ae6210073d Use compose for keyboard. fabian 2023-01-07 14:31:40 +01:00
  • 26a44dcc18 Different style for history. fabian 2023-01-07 09:13:51 +01:00
  • b73ddbf4cc Fix app not installed bug. Delete obsolete files. Add compose preview. fabian 2023-01-07 08:51:31 +01:00
  • b7a821b9f6 Add compose to project. display history with compose. fabian 2023-01-07 01:15:04 +01:00
  • 6b396dba24 Refromat code. fabian 2023-01-06 22:15:07 +01:00
  • 2bf0666946 Fix names and strings. Fix not all games shown in history. fabian 2023-01-06 22:01:00 +01:00
  • 74be455d48 Show history. fabian 2023-01-06 19:44:02 +01:00
  • 1e428e854e Move all fragments to ui package. Store created and modified date to game. fabian 2023-01-06 11:09:06 +01:00
  • 94cdbcad0b Use when statement instead of if. Change var to val. fabian 2023-01-05 18:27:36 +01:00
  • f8b35bddda Reformat. Remove unneeded application restart after language change. fabian 2023-01-05 18:18:48 +01:00
  • ec765b5fec Add Drawer navigation. Convert to multiple fragments shown with app drawer. fabian 2023-01-05 17:58:20 +01:00
  • 39b092c7c5 Fix preference listener unregistered. fabian 2022-12-31 12:32:04 +01:00
  • 8fb90bd6d0 Default to false for screen_on. fabian 2022-12-31 12:02:37 +01:00
  • e01df3a5c7 Apply application preferences. fabian 2022-12-31 11:54:20 +01:00
  • 3b7b71ce77 Add preference activity. fabian 2022-12-29 14:30:04 +01:00
  • 968edfbb67 Optimize query. Update teamname on change. fabian 2022-12-29 10:08:04 +01:00
  • 6ded9efe68 Remove unneeded function calls. fabian 2022-12-28 16:05:59 +01:00
  • bdc9b64c63 Extract DaoBase fabian 2022-12-28 15:56:05 +01:00
  • bdb4410638 Extract fragmentBase class fabian 2022-12-28 15:37:51 +01:00
  • f6b3f70e18 Split in more fragments. Trigger gui update trough db change fabian 2022-12-28 12:30:31 +01:00
  • 70da57df9c Format all files. fabian 2022-12-27 19:04:55 +01:00
  • 17ed7d18f6 Implement undo last round. fabian 2022-12-27 19:00:59 +01:00
  • 30c8941bd1 Fix crash on empty database at startup. fabian 2022-12-27 18:39:07 +01:00
  • bdf3c0a98e Change primary key to long. Implement newGame menu option. fabian 2022-12-27 18:16:14 +01:00
  • 09739ccc8e Fix tests. fabian 2022-12-27 17:25:57 +01:00
  • 7655d1d7a3 Add database. Write score to database and update. fabian 2022-12-27 17:19:55 +01:00
  • 6edbe12fd1 Add unit test for Tichu. fabian 2022-12-27 17:18:24 +01:00
  • db5384201f Add test for Tichu. fabian 2022-12-27 11:58:59 +01:00
  • 252889eff7 Fix hilt integration. fabian 2022-12-27 11:40:14 +01:00
  • 4e6193501b Use single live event to prevent false trigger after rotation. remove hilt (for the moment) fabian 2022-12-27 08:57:02 +01:00
  • 637a34efd7 Fix app crash fabian 2022-12-24 15:00:41 +01:00
  • 346ac10e68 Remove tests. need to rewrite them. fabian 2022-12-24 12:15:27 +01:00
  • 0e31908c7a Use viewmodels with LiveData. fabian 2022-12-24 12:12:19 +01:00
  • 5e0c80be17 Split layout in Fragments. fabian 2022-12-21 22:46:07 +01:00