Commit graph

653 commits

Author SHA1 Message Date
Finn M Glas
b3b1b7ba3a
Add missing translations 2020-06-26 07:42:07 +02:00
Finn M Glas
54662ad4ab
Add option to disable screen timeout
Before it was disabled by default

Closes #54
2020-06-26 07:29:48 +02:00
Finn M Glas
08d4a6c2ef
Ensure upwards compatibility of themes and preferences
The app now saves which version was used the last time and recognizes, 
if something changed / settings have to be adjusted to fit the version.
2020-06-24 11:11:09 +02:00
Finn M Glas
abcc1870fc
Cleanup: Centralise preference keys
Put them into `Functions.kt`
2020-06-24 09:38:21 +02:00
Finn M Glas
f46c1a278c
Improve default apps choice algorithm
- Add new apps (TikTok, Brave browser, Tor browser, S Memo, etc...)
- By default, choose the apps list and settings
- Now have browsers on down-swipe
2020-06-24 08:51:29 +02:00
Finn M Glas
7245834138
Rename launcher.tutorial.tab to launcher.tutorial.tabs
As plural fits better. As this changes many files, it is a separate 
commit.
2020-06-23 22:11:45 +02:00
Finn M Glas
0d85501d52
Add translations related to the improved apps list 2020-06-23 22:09:45 +02:00
Finn M Glas
2c7edf77fa
Merge pull request #57 from finnmglas/feature/swipable-tutorial
Make the tutorial swipeable, fix some bugs, make it way more professional ^^
2020-06-23 21:28:42 +02:00
Finn M Glas
98ee1b88f4
Add translations for the improved tutorial 2020-06-23 21:22:55 +02:00
Finn M Glas
1d96d2fed9
Fill the Concept tab (2) of the tutorial
Add a version badge, licensing info etc.

Also: Adjust text size of other tabs / slides in the tutorial.
2020-06-23 20:18:58 +02:00
Finn M Glas
9fcbbdd9b5
Fill the Usage tab (3) of the tutorial
Add screenshot and some text.

Also: center text everywhere
2020-06-23 19:31:45 +02:00
Finn M Glas
ddf30ece3e
Fill the Start tab (1) of the tutorial
Use blinking icons to indicate the swipe direction. Text in the middle 
still is the same. Remove page title.
2020-06-23 17:43:03 +02:00
Finn M Glas
909a3d5725
Fill Setup tab (4) of the tutorial
From there, apps can be chosen for actions (like in settings)

Closes #51
2020-06-23 16:13:06 +02:00
Finn M Glas
63ec10f2b1
Add titles, adjust layouts
- Titles for the tutorialFragments: Launcher, Concept, Usage, Setup, 
Let's go
- Adjust `Finish` tab
2020-06-23 15:45:53 +02:00
Finn M Glas
9213d8241e
Fill the Finish tab (5) of the tutorial 2020-06-23 09:54:22 +02:00
Finn M Glas
e1f88e546d
Create 5 empty tabs / fragments for the tutorial
(Start, Concept, Usage, Setup, Finish)
2020-06-23 08:58:16 +02:00
Finn M Glas
3703c5e344
Add dotted bottom progress to swipeable tutorial
Closes #10

Now one can't exit the tutorial, this will be fixed before merging
2020-06-23 07:54:15 +02:00
Finn M Glas
b33ce52ccc
Merge pull request #55 from finnmglas/feature/search-appslist
Make appslist searchable
2020-06-21 22:10:55 +02:00
Finn M Glas
53462d654b
Make sure it also looks good
- Adjust colors / themes
- Adjust layout
- Expand it
2020-06-21 21:22:59 +02:00
Finn M Glas
02ae80be68
Auto-launch app if only one result is found
As this behaviour seems more efficient.
TODO: Add option to disable this
2020-06-21 19:16:10 +02:00
Finn M Glas
2b96b3140d
Create a working SearchView for the appslist
- Add a `filter` method to `AppsRecyclerView`
- Add a `SearchView` to layout
2020-06-21 15:27:27 +02:00
Finn M Glas
d0201f02a0
Make tutorial swipeable
But this still needs lots of improvement ^^

Closes #30
2020-06-21 14:33:49 +02:00
Finn M Glas
b01ddf2ae6
Fix: White display
When newly installing the app, it would have an all white screen because 
the vibrant and dominant color would only be set when changing themes. 
This problem emerged within the `fix/code` branch and was not published 
anywhere yet.
2020-06-21 13:18:51 +02:00
Finn M Glas
56fb5a063d
Link new sponsor site
https://sponsor.finnmglas.com
2020-06-21 12:08:10 +02:00
Finn M Glas
a8303c256c
Merge pull request #53 from finnmglas/fix/code
Fix/code
2020-06-19 10:35:13 +02:00
Finn M Glas
cfa7ce5d00
Fix colors for themes 'finn' and 'dark'
- UIObject: Rename `setTheme` to `applyTheme` and `configure` to 
`adjustLayout`
2020-06-19 10:29:01 +02:00
Finn M Glas
840ef1f110
Add code documentation (classes), Improve variable names
- Rename "action" to "intention", as "action" was used for two things. 
Now it only describes swipe or click actions.
- other minor style improvements
2020-06-19 09:45:16 +02:00
Finn M Glas
90e1f8893b
Set theme and onClicks in the UIObject interfaces onStart
Also:
- Introduce a new temporary bug: The themes do not change anymore, as 
they will be switched dynamically soon (before I request pull)
- Start adding good documentation
- Speed up the apps list a little
2020-06-19 06:43:14 +02:00
Finn M Glas
5d71cf7113
Fix weird SettingsIcon behaviour
When OnPause was called and the user went back to launcher, it made 
weird movements
2020-06-18 19:53:01 +02:00
Finn M Glas
057dd5e0a4
Another color fix 2020-06-18 19:45:01 +02:00
Finn M Glas
baeaac54b6
Only use the central preferences
Only one SharedPreferences object exists (`launcherPreferences`)

Also: remove unused imports
2020-06-18 10:48:54 +02:00
Finn M Glas
68cf994c41
Add animations
- right to left swipe
- left to right swipe
- top down swipe
2020-06-18 10:17:04 +02:00
Finn M Glas
0c3a267d62
Create the UIObject interface
It is implemented by every visible object and serves as an abstraction, 
simplification.

Also: there only is one central sharedPreferences object (in 
`Functions.kt`). That makes the code way more readable.
2020-06-18 09:25:38 +02:00
Finn M Glas
fc754b8c9a
Fix color bugs 2020-06-17 23:35:58 +02:00
Finn M Glas
c141623029
Disable system default animations 2020-06-17 20:54:56 +02:00
Finn M Glas
7669c44b4d
Rename packages and move files
- Rename MainActivity to HomeActivity
- Move functions.kt one level up
- Rename package `extern` to `libraries`
- Fix layouts and layout elements (nomenclature: 
`activity_fragment_element`)
- Move SectionsPagerAdapter code into the related activity kotlin file
2020-06-17 20:42:45 +02:00
Finn M Glas
a828b90bb2
Merge pull request #50 from finnmglas/feature/intent-actions
Add ability to launch other internal activities
2020-06-17 09:49:03 +02:00
Finn M Glas
e1a9e4aa33
Fix animations
- Until now only the bottom up (swipe action) animation is implemented
2020-06-17 09:38:15 +02:00
Finn M Glas
2ab8bec8c0
Make fa icons visible for chosen actions
In the actions / apps fragment of the launchers settings.

The terminology has to be improved and kept the same everywhere in the 
app, as it also improves the codes readability and quality. I shall do 
that soon.
2020-06-17 09:14:20 +02:00
Finn M Glas
e728fca0ee
Refractor packages and activities
To improve the structure of Launcher
2020-06-16 16:24:52 +02:00
Finn M Glas
f6fdd70995
Bugfixes
+ Show only apps and no other intents in the list choosable as an action 
('view' rather than 'pick')
+ Change text for 'other' intents (+="Launcher ")
2020-06-16 09:47:36 +02:00
Finn M Glas
193df99624
Create recycler with other internal actions
Internal activities (settings or the apps list) can be opened through 
swiping or buttonpresses.

Closes #33
2020-06-16 08:42:34 +02:00
Finn M Glas
c9c12008b5
Update to gradle version 4.0.0
(from version 3.6.3)
2020-06-14 16:08:26 +02:00
Finn M Glas
2eb5e15334
Ensure onclicks in recycler are actually caught 2020-06-13 20:20:39 +02:00
Finn M Glas
e692c0317b
Add apps recycler to tab, other one is empty
The two tabs are only visible when an app is selected, not in the `view 
all apps` list
2020-06-13 11:00:50 +02:00
Finn M Glas
d71eacb7ef
Add viewpager and tabs to layout 2020-06-13 09:52:31 +02:00
Finn M Glas
2955c89536
Crop images before selecting them as background
Still has to be tested with a few devices,
Closes #49
2020-06-13 05:00:54 +02:00
Finn M Glas
7b7461ce3b
Remove unused code 2020-06-10 10:48:13 +02:00
Finn M Glas
1e79993563
Show app options menu on long click
As many people interact in this way with a list. Does not change the 
normal interaction with the apps list.
2020-06-09 18:56:50 +02:00
Finn M Glas
d36daa6006
Fix color inconsistencies for different APIS
Closes #43
2020-06-07 20:58:30 +02:00