Commit graph

572 commits

Author SHA1 Message Date
Abdourahamane BOINAIDI
2f12db03bb
remove unused background in grid_image
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-13 16:51:52 +02:00
Abdourahamane BOINAIDI
d09c4510a4
remove unused background list_selector on grid_item
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-13 16:43:07 +02:00
Abdourahamane BOINAIDI
8255b94284
remove unused properties in list_item
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-13 16:39:24 +02:00
Abdourahamane BOINAIDI
f17213c34d
Fix selected item background color
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-13 15:45:25 +02:00
Abdourahamane BOINAIDI
fec01b6db5
Fix the shimmer that had been accidentally hidden on master
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-13 13:34:26 +02:00
drone
d8dace97c4 Merge commit 'cd5406b7e0cf0cc281a0b52a712b916e2d428796' 2020-05-12 20:44:46 +00:00
Abdourahamane BOINAIDI
186ce62bdb
Fix grid image padding dimension name
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-12 20:23:21 +02:00
Andy Scherzinger
7e34e3b965
Merge pull request #6022 from nextcloud/feature/ui-revamp/manage-accounts-activity
New design (UI) - Accounts manage
2020-05-12 18:48:15 +02:00
Kilian Périsset
bb805f681b
Implemented a fixed width for local file indicator
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-12 12:01:44 +02:00
Kilian Périsset
013f7d2fca
Aligned the files icons
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-11 10:29:42 +02:00
Abdourahamane BOINAIDI
4157a120fe
Set shimmer corner same as the thumbnail
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 21:07:17 +02:00
Abdourahamane BOINAIDI
dcb4f117ea
Set thumbnail shimmer height same as the thumbnail
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 21:03:34 +02:00
Abdourahamane BOINAIDI
89b20d61ed
custom different radius for icons on the grid view and the list view
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 13:35:09 +02:00
Abdourahamane BOINAIDI
ffcfdf9fdb
add margin in grid mode
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 11:03:14 +02:00
Abdourahamane BOINAIDI
09cc29b5e5
Add corners in shimmer effect for all modes
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-07 16:09:11 +02:00
Kilian Périsset
ac35fb0b56
Merge branch 'master' into feature/ui-revamp/manage-accounts-activity 2020-05-07 12:41:55 +02:00
Andy Scherzinger
4a764ff616
Merge pull request #5992 from nextcloud/newDesign-sort-gridswitch
New design (UI) - Sort and Gridview switch Bar
2020-05-06 22:08:44 +02:00
Joris Bodin
8c1c803b9d
Refactor and readd unnecessary id
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-06 16:47:30 +02:00
Joris Bodin
cbeaf726b3
Readd necessaries values
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-05 16:13:14 +02:00
Joris Bodin
3bc3a86354
Improve sort button and hide if necessary
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-05 15:50:37 +02:00
Joris Bodin
483c1962d5
Reduce lint warning
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-05 15:09:41 +02:00
Abdourahamane Boinaidi
84c1378dae
Shimmer effect in grid mode
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-04 17:17:10 +02:00
Joris Bodin
29f60460bb
Improve ripple
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-04 16:39:30 +02:00
Abdourahamane Boinaidi
b690617f9b
Replace shimmer effect on list mode view
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-04 14:58:39 +02:00
Joris Bodin
4accfe4efa
Improve margin and lower case button
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-04 11:50:02 +02:00
Kilian Périsset
d12d20fc1d
Applied a listener on account menu button
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-04 06:11:15 +02:00
Abdourahamane Boinaidi
6fa36fa4b7
fix some warnings for lint
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 17:29:29 +02:00
Joris Bodin
d209c239e8
Hide FAB in scroll
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-01 15:42:49 +02:00
Joris Bodin
a143fdfd27
Hide when scroll
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-01 15:42:49 +02:00
Joris Bodin
0aae89ddb5
Add new sort and gridview switch button. Remove duplication
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-01 15:42:48 +02:00
Abdourahamane Boinaidi
9f63c3db85
fix shimmer background marge for grid mode
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 13:06:38 +02:00
Abdourahamane Boinaidi
679e513d52
Background shimmer size on grid image is the same as the downloaded pictures
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 09:21:36 +02:00
Kilian Périsset
886c0c6394
Pre-added a menu to manage accounts
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-30 18:46:37 +02:00
Abdourahamane Boinaidi
40fd0ff757
add a corner on the background of the shimmer
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 17:02:44 +02:00
Abdourahamane Boinaidi
aaabd6d6ff
Shimmer effect only when you download a thumbnail and you only display gray during the progression
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 14:35:28 +02:00
Abdourahamane Boinaidi
907d8007b5
remove unused shimmer effects
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 12:32:58 +02:00
Abdourahamane Boinaidi
0edbd4832b
Merge remote-tracking branch 'origin/newDesign-loader-thumbnail' into newDesign-loader-thumbnail
# Conflicts:
#	src/main/res/layout/grid_sync_item.xml
2020-04-29 11:21:04 +02:00
Abdourahamane Boinaidi
265dad23c8
add facebook shimmer effect
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 10:48:05 +02:00
Abdourahamane Boinaidi
9dacc8bf4b
add facebook shimmer effect
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 08:24:39 +02:00
Joris Bodin
c785c0b22d
Merge branch 'master' into newAppBarColor
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>

# Conflicts:
#	src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java
#	src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java
#	src/main/java/com/owncloud/android/utils/ThemeUtils.java
#	src/main/res/values-night/colors.xml
2020-04-28 15:33:22 +02:00
Tobias Kaminsky
5db713f02a
Merge pull request #5879 from nextcloud/ezaquarii/migrate-files-sync-job-to-work-manager-api
Migrate files sync related jobs to WorkManager API
2020-04-28 13:15:06 +02:00
Andy Scherzinger
922f84a443
revert background image for notifications
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:17 +02:00
Daniel Bailey
f97dc2d101
Tinted checkboxes in ConflictsResolveDialog
Activity icons have a 'night mode' background circle.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-04-28 12:18:16 +02:00
Andy Scherzinger
1adc7654a1
use proper rtl values
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:07 +02:00
Andy Scherzinger
4b083e9e34
raise margin for bottom sheet menu item divider
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:06 +02:00
Joris Bodin
9a63600521
Set color of hamburger icon
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 17:38:36 +02:00
Joris Bodin
0793808a06
Refactor and fix bug
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 15:37:26 +02:00
Joris Bodin
1ec71927df
New color, white for light theme and grey for dark theme. New progressbar
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-23 20:30:27 +02:00
Chris Narkiewicz
77c4a3e6a5
Migrate file sync related jobs to WorkManager API
* FilesSyncJob.java converted to FilesSyncWork.kt
* FilesSyncJob removed from code
* Extended ETM screen to allow scheduling immediate
  TestJob (for development experimentation)
* OfflineSyncJob.java conveted to OfflineSyncWork.kt
* OfflineSyncJob removed from code
* Fixed re-scheduling of content observer work
* MediaFoldersDetectionJob.java converted to
  MediaFoldersDetectionWork.kt
* MediaFolderDetectionJob removed from code

Fixes #5881

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-23 10:45:01 +01:00
Joris Bodin
4491f9a40d
Remove unused class
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-22 17:14:45 +02:00
Kilian Périsset
5942e4e661
Resolved the crash when account is not new (Auth)
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-21 09:03:57 +02:00
Joachim Meyer
32da47d6a3
Make the name collision policy for auto uploads selectable, fixes #5599.
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
2020-04-15 19:12:06 +02:00
tobiasKaminsky
c43b234ae4
Rich workspaces: can be null (if disabled), or string (empty or with content)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-07 16:57:40 +02:00
tobiasKaminsky
4ea0892630
NC18+: add possibility to set expiration date on user/group shares
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-06 15:34:09 +02:00
Andy Scherzinger
682ed36006
Merge pull request #5629 from nextcloud/shareSize
adjust share size
2020-03-12 18:04:37 +01:00
Tobias Kaminsky
e1b0b521f9
Merge pull request #5482 from nextcloud/ezaquarii/migrate-contacts-backup-job-to-worker-api
Migrate contacts backup job to new background job manager API
2020-03-12 14:34:16 +01:00
Chris Narkiewicz
500fdb919b
Migrate contacts backup job to new background job manager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-11 23:16:56 +00:00
Andy Scherzinger
ed8ef97ec3
add gradient to preview images in toolbar
Resolves #2883

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-11 18:48:38 +01:00
tobiasKaminsky
8cb003b78e
adjust share size
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 14:53:37 +01:00
tobiasKaminsky
593b684d4d
Use view bindings: https://developer.android.com/topic/libraries/view-binding
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-09 11:34:19 +01:00
Andy Scherzinger
37cc49b2d0
use correct dimens id
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-06 12:49:38 +01:00
tobiasKaminsky
7a6ae44d77
Remove outdated right/left as now only start/end is needed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-06 12:49:36 +01:00
Tobias Kaminsky
2061207e25
Merge pull request #5531 from nextcloud/fix/AS36
Update to Android Studio 3.6
2020-03-05 09:58:46 +01:00
tobiasKaminsky
ae08a42f8a
Enhance conflict dialog
- fix bug
- add ui tests
- add instrumented tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-03 10:31:03 +01:00
Tobias Kaminsky
1e3c6d1080
Merge pull request #5537 from nextcloud/folderFileString
Split up share internal link
2020-03-03 09:45:22 +01:00
Andy Scherzinger
b9df3de466
use app namespace instead of android
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-03 09:39:47 +01:00
tobiasKaminsky
78adcfb3d6
Split up share internal link
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-27 20:10:51 +01:00
Andy Scherzinger
3ec795f0bf
properly colorize text preview gradient based on theme (day/night)
improve preview textview size/gradient position

Fixes #5232

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-02-20 18:30:59 +01:00
Alice Gaudon
e77ffa00a8
Fix synced folder layout form control widgets alignment
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Chris Koying Browet
1b7bd72c49
ADD: [instantupload] setting to also upload existing files
Signed-off-by: Chris Koying Browet <cbro@semperpax.com>
2020-02-18 07:37:54 +01:00
Chris Narkiewicz
4ce54bc21e
Make user model parcelable
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-10 15:49:12 +00:00
tobiasKaminsky
289a83635d
OC bottom list improvement
- same padding
- add "create new" for creators

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-21 13:01:28 +01:00
tobiasKaminsky
1c483e140d
move create rich workspace into bottom sheet
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-18 18:08:54 +01:00
tobiasKaminsky
8b7d39c289
dark background to #151515
minor design changes for dark theme

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-14 14:20:31 +01:00
tobiasKaminsky
f01cdd65ae
UI enhancements to rich workspaces
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-13 19:06:49 +01:00
tobiasKaminsky
1977267826
fix FAB position
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 16:09:46 +01:00
tobiasKaminsky
0e5a772e63
rich workspaces
- show button to create folder info
- bug fixes

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 15:17:19 +01:00
tobiasKaminsky
59585d0f5b
Direct editing support
- abstract EditorWebView
- support direct editing endpoint
Create new files via direct editing

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 08:23:41 +01:00
tobiasKaminsky
ec2cfef138
Direct editing support
- abstract EditorWebView
- support direct editing endpoint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:39 +01:00
tobiasKaminsky
d1611f6334
Direct editing support
- abstract EditorWebView
- support direct editing endpoint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
04d59133ca
fix #4752
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-05 18:30:14 +01:00
Andy Scherzinger
d17c853493
re-add button/action and improve upon code review
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:43:53 +01:00
Andy Scherzinger
74bfe473c4
remove action button, use checkable menu item for shown/hidden state display
(design review)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:31 +01:00
Andy Scherzinger
bedc2b48ee
housekeeping, removing unused resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:05 +01:00
Andy Scherzinger
ca6918f9fc
show/hide improvements when list is completed hidden + nicer empty UI + action button
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:03 +01:00
Andy Scherzinger
23e44243da
show/hide auto upload list items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:34:40 +01:00
Andy Scherzinger
693f408276
Improve menu file name pattern
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-13 11:47:23 +01:00
tobiasKaminsky
71264e19b8
use file/folder in "copy internal link" description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-11-01 12:32:07 +01:00
Andy Scherzinger
fe353a7561
consistently use snake_case for color resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-30 16:13:29 +01:00
tobiasKaminsky
bee8770ce0
- fix typo in styles
- fix sign up with provider in dark primary color

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-29 11:27:03 +01:00
Andy Scherzinger
c1aa005db9
changes due to code review
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-29 11:05:44 +01:00
Andy Scherzinger
3de5e8fa52
remove possible overdraws
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 22:24:44 +01:00
Andy Scherzinger
ae2dcbea33
align user info toolbar theming with main toolbar theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 18:11:36 +01:00
Daniel Bailey
9a9e0e6c42
Merge branch 'dark_theme' of github.com:nextcloud/android into dark_theme
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 13:32:14 +00:00
Daniel Bailey
853d7cd113
Dark theme updates
TextInputLayout in share password dialog is styled to match the app.
Receive files picker shows server primary colour on Upload button.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 13:03:19 +00:00
Daniel Bailey
1615130093
Fix activity foreground text colour for >=API21.
Share expiration date picker now has buttons that are the primary
colour.

Theme change is now done in BaseActivity and ThemedPreferenceActivity.
This should help any activities in the back stack show the correct
theme.

Fixed style issues on firstrun and authenticator activities.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 12:59:32 +01:00
Andy Scherzinger
a518885612
add dark/light theming for activities headline
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:32 +01:00
Andy Scherzinger
cc2593cbdb
proper icon display for night theme for activities and notifications
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:29 +01:00
Andy Scherzinger
9a88ee24d3
remove unused radio button preference code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:25 +01:00
Andy Scherzinger
5554585348
make toolbar menu use the proper day/night popup theme
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:24 +01:00