Commit graph

296 commits

Author SHA1 Message Date
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