Commit graph

207 commits

Author SHA1 Message Date
tobiasKaminsky
77e9e66a9c
add content description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-11 12:16:55 +01:00
Bartosz Przybylski
200d264424
Remove unused id and use standard margin 2018-01-11 12:16:54 +01:00
Bartosz Przybylski
23162c36bf
Remove containers in user info
Replace designated containers with Recycler And adapter.
2018-01-11 12:16:54 +01:00
tobiasKaminsky
462d9d90cc
- move check count from shared pref to arbitrary provider
- use it also for checking new dev version (if enabled)
2018-01-10 07:40:59 +01:00
Bartosz Przybylski
a3db144ecc
Crop center the image in account info
Because we need to correctly crop and center the image we can no longer support snapping of toolbar in appbar. Since AppBarLayout is a subclass of LinearLayout and doesn't look deeper into subview hierachy for snapping children, thus it is better not to support it.

Also instead of using ScrollView and pad it with some weird magic numbers, use NestedScrollView class which is made to cooperate with AppBarLayout.
2018-01-09 10:30:20 +01:00
Bartosz Przybylski
0e1dc14016
Fixes #1903: Fix image scaling in navigation drawer
* Insted of setting a background in ViewGroup add a ImageView inside it, stretch it, set cropping scaleType and then set a background image downloaded from server.
* CenterCrop will scale the image to fill the View, if needed image will be cropped in the center but the aspect ration will be kept
* Cleanup code to use more general types instead of direct layout type, previously enforcing LinearLayout wasn't using anything special about this class.
2018-01-09 10:30:20 +01:00
tobiasKaminsky
62f74a8ff5
do not use id twice
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-08 15:47:44 +01:00
Mario Đanić
3ebc31db17
Merge pull request #1792 from nextcloud/combineSendShare
Combine send share
2017-12-29 00:54:47 +01:00
Mario Đanić
df67ba4149
Merge pull request #1862 from nextcloud/lastRTL
Lint: last RTL
2017-12-29 00:53:06 +01:00
tobiasKaminsky
0cd81c31b4
last RTL 2017-12-27 13:17:14 +01:00
AndyScherzinger
88df7842e5
fixes #1877 - click checkbox image should also check list item 2017-12-27 12:55:57 +01:00
AndyScherzinger
73cba5519c
fixes after rebase 2017-12-27 12:53:48 +01:00
AndyScherzinger
ae24c3c534
fix some lint issues 2017-12-27 12:53:47 +01:00
AndyScherzinger
b8260646da
add content description to activity icon 2017-12-27 12:53:47 +01:00
AndyScherzinger
0d864eed96
uses dimens values 2017-12-27 12:53:44 +01:00
tobiaskaminsky
114f4c9e80
reformat 2017-12-27 12:53:44 +01:00
AndyScherzinger
89ac5a0843
optimized share layout 2017-12-27 12:53:42 +01:00
tobiaskaminsky
12f837e205
- correctly tint white, black theme
- moved link image a bit to the right
2017-12-27 12:53:41 +01:00
tobiaskaminsky
e08049341c
Tint round buttons 2017-12-27 12:53:40 +01:00
AndyScherzinger
672c0a1509
circular background 2017-12-27 12:53:40 +01:00
tobiaskaminsky
3debd2f0f1
align both icon 2017-12-27 12:53:39 +01:00
tobiasKaminsky
2168e5a344
- make image & text clickable
- show snackbar correctly if resharing is not allowed, then also grey out image&text if not folder
2017-12-27 12:53:39 +01:00
tobiaskaminsky
dc2d7edc56
combine send/share 2017-12-27 12:53:35 +01:00
tobiaskaminsky
6c78627c3f
further rtl support 2017-12-13 08:06:43 +01:00
tobiaskaminsky
e547f37b07
set content description
minor type errors
2017-11-27 13:02:37 +01:00
tobiasKaminsky
86340913a8
versionDev as flavor 2017-11-27 12:15:38 +01:00
AndyScherzinger
798df9f223
Fixes #1761 by removing unnecessary background color which gets tinted if present 2017-11-09 08:39:13 +01:00
AndyScherzinger
cfdb8f5227
lint: fix rtl values 2017-11-08 23:14:51 +01:00
AndyScherzinger
461c4282e8
fix lint warnings 2017-11-08 16:32:25 +01:00
AndyScherzinger
7082bf7189
Fixes #1743 by enlarging the padding of the icons (hitbox) 2017-11-08 16:32:25 +01:00
AndyScherzinger
8cf227e612
remove unused paddings (lint) 2017-10-26 10:39:28 +02:00
AndyScherzinger
b036ae5d68
replace android:layout with layout 2017-10-25 09:34:21 +02:00
AndyScherzinger
3bf7cfd39e
lint: fix layout ids 2017-10-25 09:34:21 +02:00
AndyScherzinger
a7381b7536
lint: Use a layout_width of 0dp instead of @dimen/zero for better performance 2017-10-24 13:38:27 +02:00
AndyScherzinger
4f0fea2d39
move file details 2017-10-24 13:38:26 +02:00
AndyScherzinger
25150d61c0
removes mime type info from details screen as described in #1212 2017-10-24 13:38:26 +02:00
AndyScherzinger
2fce2036b6
fix whitespace dp values 2017-10-19 22:11:01 +02:00
tobiaskaminsky
2da83959b2
additional enhancements 2017-10-19 22:11:00 +02:00
tobiasKaminsky
9a30bae5a8
enhance activity list design 2017-10-19 22:11:00 +02:00
AndyScherzinger
5747da2122
lint: use 0dp instead of dims value 2017-10-19 15:46:37 +02:00
AndyScherzinger
6b9d270e8e
fix lint issues and optimize layout 2017-10-19 15:33:05 +02:00
AndyScherzinger
a2d182cf75
fixed size of the share icon hitbox in list view 2017-10-18 22:03:21 +02:00
AndyScherzinger
1924766a66
fix lint warnings for clickable items + content description 2017-10-18 21:53:31 +02:00
Hari
f3755fa842
Align row icons to action bar icons 2017-10-18 21:53:30 +02:00
Hari
8e65a1dece
Align the overflow icon and share icon vertically 2017-10-18 21:53:30 +02:00
Hari
8d476f6578
Add material design specs 2017-10-18 21:53:29 +02:00
Hari
1e7bc78d87
Revert change in favourite icon 2017-10-18 21:53:28 +02:00
Hari
7312979808
Add options for operations on single files 2017-10-18 21:53:28 +02:00
AndyScherzinger
40d393b234
resolves #1573 - filetype icons and previews size 2017-10-18 15:26:06 +02:00
stalker314314
6e4c14c8d4
Fixes #1600
Change "Set as available offline" text to "Available offline" for switch widget in file details dialog, to differnetiate between this and "Set as available offline" in menu
2017-09-29 15:20:49 +02:00