Commit graph

396 commits

Author SHA1 Message Date
ErikWaegerle
4d976abe16 Added a vector graphic for the "Finish" button for the Create Sudoku activity. 2020-06-29 18:00:27 +02:00
ErikWaegerle
edc16b8cec Creating the layout xml file for the "Create Sudoku" activity. 2020-06-29 17:57:47 +02:00
ErikWaegerle
e832e6c4ac Adjustment of the MainActivity, so that DarkTheme is still active with the activated battery or system status option. Dark Theme will remain if the app is closed. 2020-06-29 15:33:10 +02:00
ErikWaegerle
38a708821a Adjusting the Settings Activity
Implementation of the case distinction for manual modification of the Dark Theme. It is possible to adjust the Dark Theme according to battery status or system settings.
2020-06-29 15:25:19 +02:00
uykek
abc34b899c Implement onCreate method of CreateSudokuActivity (for now using the button layouts of the GameActivity) 2020-06-25 16:17:28 +02:00
ErikWaegerle
eb78716249 Adjustment in pref_settings_general
Creating the two switches for "automatic by system" and "automatic by battery"
2020-06-24 20:44:47 +02:00
ErikWaegerle
01865b1741 Adaptation of the pref_settings_general.xml
Creating a preferenceSettings category for different settings of the DarkTheme
2020-06-24 19:21:50 +02:00
uykek
b30ae90237 Override the onResume() and onBackPressed() methods of the CreateSudokuActivity 2020-06-24 19:18:45 +02:00
uykek
9b9670c965 Add new activity for creating custom sudokus 2020-06-24 19:02:35 +02:00
ErikWaegerle
50f7260717 Adaptation of the GameActivity
Dark Theme remains activated
In case the GameActivity is loaded first by clicking a sudoku:// link
2020-06-24 18:47:01 +02:00
ErikWaegerle
73e7fa3958 Adaptation of the MainActivity
is loaded in Main Activity, that the dark theme remains activated when the app is opened again
2020-06-24 18:36:33 +02:00
ErikWaegerle
1106ee84bb Adjusting the SettingsActivity
Case discrimination with AppCompatDelegate to cover both cases.
2020-06-24 16:37:59 +02:00
ErikWaegerle
650bd797ba Extension of pref_settings_general.xml with a switch. This is used to activate/deactivate the dark theme.
Adaptation to German and English language
2020-06-24 16:33:44 +02:00
uykek
0f5ef95c01 Fix problem with previously added method that caused the generation of a challenge sudoku as the daily sudoku to be more, rather than less, likely 2020-06-22 10:22:04 +02:00
uykek
f2aa3460ff Modify NewLevelManager's loadDailySudoku() method so that the probability of the daily sudoku's difficulty being 'challenge' is only 10% 2020-06-17 18:33:59 +02:00
ErikWaegerle
c115b6c990 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-15 18:44:15 +02:00
ErikWaegerle
652095f975 Move the DailySudokuActivity to org.secuso.privacyfriendlysudoku.ui package 2020-06-15 13:55:49 +02:00
uykek
87a80de4b5 Change launchmode of GameActivityto 'singleTask' and add onNewIntent method to GameActivity 2020-06-15 09:05:56 +02:00
ErikWaegerle
c8a6385e64 Adaptation of the GameActivity and Manifest.xml to include deeplinking
Links of the following format
"http://sudoku" also accepted and loaded as game field
2020-06-13 20:16:51 +02:00
ErikWaegerle
bf9aee31ed Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-13 18:31:17 +02:00
uykek
a8629fc75c Adjust GameInfoContainer and GameActivity so that importing a sudoku containing an invalid fixed value (e.g. a 9x9 sudoku containing an 'A' as a fixed value) no longer causes an exception. 2020-06-13 15:56:37 +02:00
uykek
80fa401666 Adjust size of view element of DailySudokuActivity's landscape layout to match the regular layout more closely 2020-06-13 15:44:43 +02:00
uykek
6c8848b803 Flatten layout hierarchy of the DailySudokuActivity landscape layout 2020-06-12 15:23:14 +02:00
ErikWaegerle
c06968d217 Introduction of new attributes to change the background color (DarkMode/DayMode) of the tutorial slides (1-3) 2020-06-09 23:52:34 +02:00
ErikWaegerle
ee548697eb Adjusting the background color for Tutorial Slide 1-3 2020-06-08 01:38:19 +02:00
ErikWaegerle
2b7bf3cef0 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-08 01:32:22 +02:00
ErikWaegerle
c65a126a65 delete the statement android:textColor 2020-06-07 21:49:37 +02:00
uykek
3d8cae11b6 Add landscape layout for the DailySudokuActivity 2020-06-07 16:17:38 +02:00
ErikWaegerle
f3225d9832 Update version:
Deletion of the resource color files for the coloring of the selected element
->will be changed from blue to grey
Delete the corresponding attributes and reverse the styles/night.xml
2020-06-07 14:58:23 +02:00
uykek
8dfa0f5317 Change onCreate() method of DailySudokuActivity so that the difficulty of the daily sudoku is only calculated once a day 2020-06-07 11:40:45 +02:00
uykek
05cc8aec51 Add new dialog style to all AlertDialog instances within the app 2020-06-07 10:34:23 +02:00
uykek
3232c7eb3f Replace font theme attribute of the win_screen_layout with new theme attribute 2020-06-07 10:32:43 +02:00
uykek
5b3db3342a Add new theme attribute and style to configure specific layouts for the night mode 2020-06-07 10:31:56 +02:00
ErikWaegerle
994d85947f Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-07 10:25:30 +02:00
ErikWaegerle
b98c930517 Color adjustment in the Navigation Drawer (blue background)
Introduction of the resources color files to define the color matching of the selected item
Creating the appropriate attributes and customizing the styles/night.xml
2020-06-07 10:21:19 +02:00
ErikWaegerle
7441559a11 Color adjustment of the background of the tutorial slides (1-3) for the dark mode 2020-06-06 16:33:06 +02:00
ErikWaegerle
29362a4188 Secuso_logo_blau.png delete and replace with vector file
Color adjustment of the vector file for dark mode
2020-06-06 16:08:13 +02:00
uykek
4e2b89db69 Remove white border around numfirst.png and numfull.png 2020-06-06 14:49:52 +02:00
uykek
9fdeba1767 Slightly tweak path of the blue star vector drawable so that it matches the path of the grey star vector drawable exactly 2020-06-06 14:48:22 +02:00
uykek
d76c4b7b50 Fix bug which causes vector graphics which receive their color from theme attributes to appear invisible when placed on an image button. 2020-06-06 12:51:39 +02:00
uykek
e31add2adf Add standard background color for dark theme as #121212 2020-06-06 10:22:33 +02:00
uykek
0356687ee0 Fix bug that was caused by a theme attribute in splash_screen.xml 2020-06-03 17:05:39 +02:00
uykek
a47443ce99 Replace color references with attributes in the following vector drawables: 2020-06-03 16:22:02 +02:00
ErikWaegerle
a698099e81 The color references of the following vector graphics have been replaced 2020-06-03 13:42:47 +02:00
uykek
34d3d40f0a Rename night mode style.xml file and move it to values-night directory 2020-06-03 12:41:40 +02:00
uykek
81ca1b4374 Add <resources>-night counterpieces of the style.xml files. 2020-06-03 10:31:24 +02:00
ErikWaegerle
b7189338f7 The color references of the following layouts files have been replaced by attribute references 2020-06-03 00:36:59 +02:00
ErikWaegerle
e366bccee9 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-02 21:22:22 +02:00
uykek
ebcca01f52 Replace color references in the win screen layout and stats fragment layout with attribute references 2020-06-02 21:16:00 +02:00
uykek
d587b4b2dc Add all the theme attributes which are necessary for the win screen layout. 2020-06-02 21:13:02 +02:00
ErikWaegerle
ef344db759 The color references of the following vector files have been replaced by attribute references 2020-06-02 20:39:32 +02:00
ErikWaegerle
259b4538ea Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-02 20:22:11 +02:00
uykek
2557cda248 Add new theme attributes for light background colors, fonts and vector graphics 2020-06-02 20:15:26 +02:00
ErikWaegerle
0f4db6b4dc Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-02 18:41:21 +02:00
uykek
c6262b3789 Change method which rotates 'ic_create_black_48dp' drawable so that it is capable of rotating the new vector drawable 2020-06-02 18:36:14 +02:00
ErikWaegerle
52cd33852d Update: the following images/PNG were created as vector graphics, delete this
vector graphics and keep the PNG
2020-06-02 13:33:28 +02:00
uykek
9edc74c634 Add attrs.xml file for custom theme attributes 2020-06-02 10:30:49 +02:00
ErikWaegerle
7676cfd2b8 Delete the associated PNG files
->Avoid duplicates in the drawable folder
2020-06-01 20:02:06 +02:00
ErikWaegerle
e0e8d85005 PNG files replaced by vector graphics 2020-06-01 19:53:01 +02:00
ErikWaegerle
a7fc667289 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-01 19:44:49 +02:00
uykek
165ecbf7ce Replace the trophy vector graphic and delete the png files for which vector graphics have been added already 2020-06-01 18:13:57 +02:00
ErikWaegerle
87c2b09e18 Adjusting the activity_daily_sudoku.xml and the strings.xml
Change and adjustment of the layout see MockUp 3

1.) Enlarge the stars and the text difficulty of the "DailySudokus"
2.) Adjusting the layout and changing the padding
3.) hyphen has been reduced to a suitable size
4.) Modify/add the output text for played games in strings.xml
2020-06-01 16:43:51 +02:00
ErikWaegerle
c7f3db65f1 create for layout suitable string "daily_number_of_hints" to replace #used hints 2020-06-01 01:32:52 +02:00
ErikWaegerle
f471fce351 Inserting and translating "used hints" into strings.xml (de) 2020-06-01 01:29:33 +02:00
ErikWaegerle
a8c8280dc4 Modification of the onCreate() method
1.) Display of the current difficulty of the DailySudokus

Modification of the getView() method
1.) Calculation and display of the Daily Sudoku data
2020-06-01 01:22:15 +02:00
ErikWaegerle
236be00504 Modification of the onCreate() method
1.) Display and output of the cumulated number of required hints
2.) Display and output of the game time from the DailySudokus
3.) Display and output of the cumulated total playing time of DailySudokus
2020-05-31 18:15:32 +02:00
uykek
c749d99c0e Turn the star, trophy and undo png icons into vector graphics 2020-05-31 17:50:30 +02:00
uykek
c0faeacce8 Let AppTheme extend DayNightTheme and add a new actionbar style with the attributes the AppTheme previously inherited from DarkActionBar. 2020-05-30 11:02:37 +02:00
uykek
91f7cc6d2b Add method which calculates the amount of seconds that were needed to solve a DailySudoku object based on its "timeNeeded" attribute 2020-05-28 00:25:12 +02:00
uykek
a015bd5597 Calculate difficulty of daily sudoku after sudoku has been generated instead of assigning a difficulty pre-generation 2020-05-28 00:18:01 +02:00
uykek
861015ae66 Stop player from playing the daily sudoku again if they have solved it already. 2020-05-27 23:22:26 +02:00
uykek
94b7b82bb4 Only calculate the daily sudoku once a day; after the DailySudokuActivity's floating action button has been pressed for the first time a day, load the daily sudoku from the 'saves' directory 2020-05-27 23:09:09 +02:00
uykek
2a90d403cb Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-05-27 22:11:38 +02:00
ErikWaegerle
f179518f5a Adding the onClick() method, the SudokuListAdapter() and the getView() method
This adds functionality to the button and the customization/implementation to display the completed DailySudoku in list form.
2020-05-27 21:58:32 +02:00
uykek
29933c01eb Allow eleven (instead of ten) sudokus to be saved by the GameStateManager if one of them is the daily sudoku 2020-05-27 21:44:11 +02:00
ErikWaegerle
644358ced8 Adjustment of the layout by adding the TextView from list_entry_layout.xml
Is responsible for displaying the games already completed in Daily Sudoku.
2020-05-27 21:41:40 +02:00
uykek
56db7277ca Exclude daily sudoku from the sudokus displayed in the LoadGameActivity 2020-05-27 20:50:42 +02:00
uykek
e1ded11056 Fix bug that caused an exception if the app tries to upgrade the database 2020-05-27 20:36:58 +02:00
ErikWaegerle
1dc60679d3 Modify the onCreate() method to ensure that only in case of the DailySudoku the DailySudoku is loaded 2020-05-27 20:15:28 +02:00
ErikWaegerle
9f999b5512 Added the method loadNewDailySudokuLevel.
Is responsible for loading the DailySudoku.
2020-05-27 20:04:08 +02:00
ErikWaegerle
af812f6bed Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-05-26 21:59:36 +02:00
uykek
88a7f7813e Add methods which generate a fixed sudoku based on the current date 2020-05-26 20:15:33 +02:00
uykek
01888989a3 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-05-26 20:14:07 +02:00
ErikWaegerle
b863c7a88c Implementing/adding the functionality of the "Menu Button" and the "Back Button" in the ActionBar. 2020-05-26 16:43:18 +02:00
ErikWaegerle
b41ff4b238 Changes to the layout
1.) Increase the number of stars to 4
2.) Creation of the button "Start DailySudoku"
3.) Positioning of the individual elements in the layout
2020-05-26 01:13:13 +02:00
ErikWaegerle
5d620829c4 1.) Creating the class DailySudokuActivity
2.) Implementing the onCreate() method
2020-05-25 20:21:12 +02:00
ErikWaegerle
f9744bc894 Embedding a vector graphic for the tab "Daily Sudoku" in the NavigationDrawer menu 2020-05-25 20:16:16 +02:00
ErikWaegerle
dd9a66eb8c 1.) Creating a Daily Sudoku Activity XML
2.) Adaptation of the layout
3.) Inserting the app and toolbar into the layout
4.) Use the layout of fragment_stats.xml
5.) Adaptation and modification of the layout see Mockup 3
2020-05-25 20:12:50 +02:00
ErikWaegerle
e10746822d Extension of the method goToNavigateItem() with dailySudoku Item. Adds NavigationDrawer functionality. 2020-05-25 20:04:02 +02:00
ErikWaegerle
514750650d Inserting a new activity in the Manifest
for the Daily Sudoku.
2020-05-25 19:47:34 +02:00
ErikWaegerle
5ed7b5542a Customization of the icon in the NavigationDrawer menu 2020-05-25 19:42:42 +02:00
uykek
a2c52f0891 Reserve maximum id to identify daily sudoku within app, add method which saves a sudoku to the daily sudoku data base using the current date as its id 2020-05-25 16:53:34 +02:00
uykek
9c31f0d869 Update database version 2020-05-22 14:50:59 +02:00
uykek
8b8f72b2e7 Add methods to fetch and save daily sudokus to the DatabaseHelper class 2020-05-21 12:33:32 +02:00
uykek
472f691695 Add DailySudokuColumns and DailySudoku classes, which extend LevelColumns and Level by adding the attributes "hints used" and "time needed", for the daily sudoku database table 2020-05-20 18:21:09 +02:00
uykek
c4136f40d2 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-05-20 14:32:22 +02:00
Erik Waegerle
6dbf66cb7f The menu item Daily Sudoku was added to the navigation drawer 2020-05-20 12:45:21 +02:00
Erik Waegerle
eb5aa197f0 The database will be extended by DailySudokus. A new table was created for this purpose 2020-05-20 12:32:41 +02:00
uykek
c36badaf18 Add setter for QQWing's Random attribute that lets you initialize it with a seed 2020-05-19 22:36:24 +02:00
Erik Waegerle
2a92374f12 removed not necessary permisson 2020-05-19 21:50:23 +02:00
uykek
25e92172f0 Fix mistake which caused impossible imported sudokus to be saved to database. 2020-05-19 18:23:41 +02:00
Erik Waegerle
064fcd9971 Extension of the GameAcitivity with an Intent Filter in the Manifest.xml
Intent-Filter is responsible for DeepLinking
2020-05-16 20:13:33 +02:00
uykek
26d5cab369 Notify user if a sudoku they tried to import is impossible to solve and close app afterwards. 2020-05-15 19:07:50 +02:00
uykek
a1b13a49e5 Compute difficulty of sudokus which are imported via deeplink 2020-05-14 10:31:25 +02:00
uykek
385959d9eb Expand GameActivity so that it accepts a string containing an enconded sudoku board (for now with default difficulty 'easy') 2020-05-13 23:24:03 +02:00
uykek
c0743f7a08 Make a few improvements on the implementation of the 'copy to clipboard' button. 2020-05-09 19:37:57 +02:00
uykek
9c9a0c1221 Implement the functionality of the 'share' button of the ShareBoardDialogFragment, which is to share a board's code with other apps. 2020-05-09 18:37:00 +02:00
uykek
5a098d8ac5 Add methods to generate the code necessary for sharing a specific sudoku board 2020-05-09 18:36:22 +02:00
uykek
4134013fe9 Change implementation of of ShareBoardDialogFragment to use databinding instead of 'findViewById' 2020-05-09 14:05:43 +02:00
uykek
8f3371b38d Enable data binding 2020-05-09 13:44:37 +02:00
uykek
43f8d10745 Add a subclass of DialogFragment using the previously added layout to GameActivity and a new interface to be implemented by all listeners for the subclass. 2020-05-09 13:14:46 +02:00
uykek
c1a37d3341 Update gradle to include ConstraintLayouts and create layout for the board-sharing dialog. 2020-05-09 12:19:56 +02:00
uykek
e14581d62a Add new item titled 'Share Board' to the menu drawer of the GameActivity and a few Strings necessary for new the board-sharing feature in both English and German. 2020-05-09 12:13:08 +02:00
Christopher Beckmann
fd4cefd296 v2.2.1 2020-04-30 11:50:30 +02:00
Christopher Beckmann
ca76ef164a Fixed a bug that would prevent errors from being highlighted. 2020-04-30 11:49:37 +02:00
Christopher Beckmann
ad4bb2b129 Version increase to 2.2.0 2020-04-23 12:05:21 +02:00
Christopher Beckmann
aa4c615598 Migrated to AndroidX. Performance improvements. Adaptive Icon added.
Fixes #51, Fixes #38, Fixes #8
2020-04-23 12:02:06 +02:00
hype11
58ddf2824c
Update strings.xml
Rechtschreibfehler behoben
2018-07-16 22:12:36 +02:00
Karola Marky
4d06281617 buildToolsVersion update 2018-01-19 17:52:35 +01:00
Christopher Beckmann
7cc9c8538c Fixes #34. Worked on Issue #18. The lines are now drawn correctly. 2017-12-31 15:10:19 +01:00
xin
23ad4a2e1a Update French translation 2017-09-28 11:18:28 +00:00
Karola Marky
037baf365d Average string shortened for highscore 2017-07-03 14:10:04 +02:00
Karola Marky
69167d48a9 Missing translations added 2017-06-29 17:15:47 +02:00
Karola Marky
891a2436bd Menu order updated, nav header updated 2017-06-29 17:10:23 +02:00
Christopher Beckmann
84995affe5 Fixed #32 and added the Tutorial to the NavigationDrawer. Some string files still need to be translated. 2017-06-29 16:57:29 +02:00
Karola Marky
7a00ba4aaf Version update 2017-06-29 15:37:34 +02:00
Karola Marky
583f483f6f Clean up unused resources 2017-06-29 15:35:14 +02:00
Karola Marky
0f1f7049b0 Translations for Tutorial 2017-06-29 15:34:07 +02:00
Karola Marky
8298506d51 Old Welcome removed 2017-06-29 15:25:16 +02:00
Karola Marky
cb24d47868 Tutorial updated 2017-06-29 15:23:34 +02:00
Christopher Beckmann
0019663aa7 Merge remote-tracking branch 'origin/master' 2017-06-29 14:34:32 +02:00
Christopher Beckmann
7a3347718a Fixed #22. 2017-06-29 14:34:08 +02:00
naofum
77e25602ce updated japanese 2017-06-27 23:44:51 +09:00
Christopher Beckmann
7c651ae351 Added presaved levels for 12x12 easy difficulty 2017-06-25 22:36:45 +02:00
Karola Marky
3a0c7bc121 Placeholders added 2017-06-25 22:07:38 +02:00
Karola Marky
9df73f531b Version Code update 2017-06-25 21:59:27 +02:00
Karola Marky
ca7cc3bb03 Version number automatic 2017-06-25 21:50:51 +02:00
Karola Marky
116973865a Missing translations added 2017-06-25 21:37:45 +02:00
Karola Marky
59f66759f2 New menu icons 2017-06-25 21:29:56 +02:00
Christopher Beckmann
3d91bc1487 Merge remote-tracking branch 'origin/master' into GeneratorRework
# Conflicts:
#	app/app.iml
2017-06-25 21:14:59 +02:00
Christopher Beckmann
f7edfbb34b Settings and Toolbar update 2017-06-25 21:10:55 +02:00
Christopher Beckmann
1aa5500c64 Generator Changes and reworked the Saved Level Structure 2017-06-25 20:14:34 +02:00
naofum
9df5547953 japanese translation 2016-12-22 23:10:15 +09:00
Karola Marky
600996eee7 Changelog added 2016-11-27 15:17:14 +02:00
Karola Marky
e35e16a2d9 Header and version code update for some reason a release with 2 was missing on Github 2016-11-07 11:56:35 +02:00
Karola Marky
15abcb6559 Version Code Update and Cleanup 2016-11-07 11:47:39 +02:00
Karola Marky
268c4da61c Splash Screen added and gitignore update 2016-11-07 11:45:48 +02:00
Christopher Beckmann
44833dd8c0 Minor String changes and welcome screen now links to the help page. 2016-10-18 14:27:23 +02:00
Christopher Beckmann
75ae94a163 Fixed a string and updated README.md 2016-10-15 22:46:53 +02:00
Christopher Beckmann
b26c6ee106 Merge remote-tracking branch 'origin/master' 2016-10-15 22:20:30 +02:00