Commit graph

482 commits

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