Commit graph

708 commits

Author SHA1 Message Date
Álvaro Brey
a33ece4a2e
Update screenshots for m3: SettingsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
964eb5d785
Update screenshots for m3: FileDisplayActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
397533cfbf
Update screenshots for m3: CommunityActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
f78d0a9944
Update screenshots for m3: AuthenticatorActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
64eb90a170
Update screenshots for m3: ActivitiesActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
0c3fdc1a2e
Fix toolbar colors for PreviewImageActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
61f237177b
Remove unused resources
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
7456354774
Remove obsolete TODOs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
8ad0263f23
Move theme utils back to the theme package
No need for an extra package anymore

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
be87acd735
Clear almost all remainders of old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
2a2c01f094
Use Material3 colors for loading dialogs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f189000edf
ExtendedListFragment: prevent NPE when activity doesn't have the buttons
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
c1cb7e9430
ThemeableSwitchPreference: use m3 utilities
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
898d655886
Clear some uses of old color utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f943722b7c
Fix action mode colors
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f0f18b548f
Fix background colors for popup menus and bottom sheets
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
62f7877fc7
Theme icons in gallery bottom sheet
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
538102b3e7
Clean up some theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:29:35 +02:00
Álvaro Brey
616222572b
FirstRunActivity: move to viewBinding in preparation for theming
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
e902396aa3
Make status card views themed like tonal buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
5eff338d45
remove unnecessary semicolon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
d49f725e5e
improve status card views for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
e10a28b893
unify bottom sheet items to 56dp m3 item heights
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
f4a2f734e4
move magic number to a constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
379c9d016f
adapt bottom sheet items to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
74ba90943e
make quota bar rounded on the edges and remove containers background to remove the overpainting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
bdcfbbb377
move community activity hyperlink theming to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
3c5268201a
remove legacy color method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
2a90cc316a
move quota theming to drawer
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
d57ea5a010
theme share buttons in m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
6d1d03caf1
Add template card theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
da6b136bcb
improve secondary button m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
7495eeca71
update to spotless fixed common version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
1657850ccb
m3 theming for backup fragnment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
224e470ede
remove legacy color utils from OCFileList
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
afc7219440
remove unused variables due to new m3 theming methods in place
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
0a8e505ef5
remove legacy color util references from notification activity and adapter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
6792118b7a
move ssl validator to view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
671fe3dc3a
Move notification list buttons to m3 with updated outlinedf button handling from commons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
7e8002b254
Move upload list to view binding and buttons' m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
1bfb91d3cc
properly theme input layout for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
5d7d3d6641
m3 theming of e2ee dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
bdeb51d50a
m3 theming for unified search results
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
a103c19439
properly theme upload header texts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
97ab9cf0b8
improve picker theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
6dbd434d0c
theme sharing fragment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
e0d4d84f16
remove unused colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
0f1d86b1a5
preserver exception history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
53fefc855c
ignore constant array index due to legacy API on platform
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
cdcdeb4ef9
remove unused parameter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
5a3f3da3b4
Remove unexpected blank line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
5db87bf328
Apply m3 colors to markwon based markdown rendering
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:43 +02:00
Andy Scherzinger
ece61e46b6
theme user info activity
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:00 +02:00
Andy Scherzinger
ae4251177f
add search toolbar theming and general overflow menu theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Álvaro Brey
29c2e8758f
Remove a bunch of unused injections and parameters for old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
6ae4ac22e7
OCFileListDelegate: remove unused theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
efaad0a6da
Tint a bunch of drawables and toolbars with new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
146d846405
remove unused theming legacy helpers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
550924e19d
theme ripple effect on toolbar MaterialButtons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
5571574309
tint sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
1c7af1a08e
Theme permissions subline for link shares
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
c657461e6f
theme quick sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:58 +02:00
Álvaro Brey
b181336c6d
SettingsActivity: completely relaunch activity when dark mode is changed
recreate() is not enough and leaves the activity in a broken state

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
131bd9e62c
ProfileBottomSheetDialog: fix icon colors and detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
d0a9fa2c72
Fix tints in user lists
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
5cf85fd2c8
Theme fast scrollbars
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:24:07 +02:00
Andy Scherzinger
ea4de13d9f
Update background for all bottomsheets
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +02:00
Andy Scherzinger
ff9086bc87
fix tab layout theming on non-surface areas
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +02:00
Álvaro Brey
e39ad8867c
Material3 theming for snackbars
Lots of Dagger and static code workarounds unfortunately

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
63aed99c93
Fix crash in LocalFileListAdapter due to uninitialized theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
0ab4743419
Fix ktlint
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
51332a6fea
Port some status bar theming to new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
6bf79d5a5f
Migrate primate drawable tinting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
35fb67f0a6
background for settings screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:27 +02:00
Andy Scherzinger
7d7b3e3e0f
update status bar theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
4ea5242acc
title and back/drawer icon theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
d3eb0d09cf
legacy action bar theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
980c74a172
theme search card view
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
117b07a3e9
Migrate navigation view to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
a92bc8529a
Migrate SyncedFolder dialog to MaterialAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
2062692e2f
Migrate SSLUntrusterCert and StoragePermission to MaterAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
4058896f3f
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +02:00
Álvaro Brey
b3a4a5f29f
Replace ThemeAvatarUtils with common material3 utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Álvaro Brey
e969024a11
Replace ThemeTextUtils with new FilesSpecificViewThemeUtils class using material3 schemes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
50ae0581e4
Update further dialogs to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
a131656d8f
convert conflicts and create folder dialogs to MaterialAlterDialogs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
ee170a4e4c
move template chooser to MaterialAlterDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
5d84bfc2e4
enhance m3 theming for confirmation dialogs and template chooser
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
dd9bdaa886
enhance account removal confirmation dialog m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
25bbbea282
enhance set status dialog m3 themeing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
50a6937ca4
improve m3 account chooser theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
d1621d74d1
Polish m3 for account chooser and rename background
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
90f060e944
Update theming on rename dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8a31f9b8f7
Replace ThemeMenuUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
413df44a3c
Replace ThemeTextInputUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8854fd40c4
Update common lib version
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8078fe0ee0
Generate MaterialSchemes from colorPrimary when there's no logged in user
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
46fef5c883
Replace ThemeCheckableUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
ba05bf7c5a
Fix simple detekt issue
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
22dc29ce43
Replace ThemeFabUtils and ThemeLayoutUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:05 +02:00