447 Commits

Author SHA1 Message Date
azuo
32c580bac7 Merge branch 'patch-1' into patch-develop 2021-09-26 22:29:09 +08:00
azuo
85fa0cae11 Add weather providers HERE.com and AccuWeather.com; fix Weather.gov. 2021-09-26 22:28:06 +08:00
azuo
05f2a745c2 Merge branch 'patch-1' into patch-develop
# Conflicts:
#	app/src/main/java/com/tommasoberlose/anotherwidget/helpers/WeatherHelper.kt
2021-09-25 11:34:02 +08:00
azuo
ef2e89b6ff Correct weather info for weatherbit.io, weather.gov and yr.no. 2021-09-25 11:31:53 +08:00
azuo
a306d92282 Make text shadows more visible. 2021-09-25 11:08:10 +08:00
azuo
da9fc362af Merge branch 'patch-3' into patch-develop 2021-09-24 10:45:07 +08:00
azuo
ff83cfd953 Update translation. 2021-09-24 10:44:05 +08:00
azuo
5d9dcd9701 Replace Realm with Room. 2021-09-23 00:23:42 +08:00
azuo
183901534c Correct the widget layout.
Adjust the layout carefully, so that remote grid views perfectly overlap the bitmap generated from the binding view, whether left-aligned, right-aligned or centered, and regardless of the size of the widget, text, margins or spacing.

Display the clock in the correct text size.
v2.3.3-patch2
2021-09-17 12:01:41 +08:00
azuo
6d7d90e762 Correct the algorithm to check if to show weather as a glance provider. v2.3.3-patch1 2021-09-14 13:49:52 +08:00
azuo
e89b377b68 Fix crash in MainFragment.updateUI() on some devices. 2021-09-14 13:48:23 +08:00
azuo
e0eb6f77da Merge branch 'patch-4' into patch-develop 2021-09-14 13:40:14 +08:00
azuo
43c08204c3 Merge branch 'patch-3' into patch-develop 2021-09-14 13:39:59 +08:00
azuo
6f125573e0 Merge branch 'patch-2' into patch-develop
# Conflicts:
#	app/src/main/java/com/tommasoberlose/anotherwidget/ui/widgets/AlignedWidget.kt
#	app/src/main/java/com/tommasoberlose/anotherwidget/ui/widgets/StandardWidget.kt
2021-09-14 13:39:30 +08:00
azuo
380dc96c40 Merge branch 'patch-1' into patch-develop 2021-09-14 13:38:49 +08:00
azuo
821980e938 Use getBroadcast instead of getActivity for ACTION_REFRESH intents. 2021-09-13 23:34:54 +08:00
azuo
9f47d626a9 setExact is more reliable than setRepeating on some ROMs (e.g., MIUI). 2021-09-13 23:24:58 +08:00
azuo
d3b623cf13 Add ACCESS_BACKGROUND_LOCATION permission required by Android 11. 2021-09-13 19:28:47 +08:00
azuo
1389ddbfc0 Avoid the initial vertical position of BottomSheetDialogs being capped. 2021-09-13 11:55:29 +08:00
azuo
0dbbe0e5d2 Fix RenderScript leaks; set a reasonable default value for PREF_TEXT_CLOCK_SIZE. 2021-09-10 23:15:47 +08:00
azuo
818b4ec0ba Avoid redundant updates. 2021-09-04 18:35:39 +08:00
azuo
8c84913cd8 Remove trailing semicolons in code. 2021-09-03 20:54:02 +08:00
azuo
43f085b13c Remove extra spacing after event time when weather disabled. 2021-09-03 20:40:44 +08:00
azuo
3ab42fd163 Correct and improve calendar events updating algorithm.
1. UpdateCalendarService will fetch all events from now to the next fetch time + Preferences.showUntil, so that EventRepository holds all events need to be shown before the next fetch;
2. Every event is updated 1 minute after the corresponding time span, to make the actual time difference consistent with the displayed getRelativeTimeSpanString;
3. Update events only when necessary, eliminate redundant alarms; cancel all update alarms when showEvents is turned off.
2021-09-03 18:20:01 +08:00
azuo
ea0be72478 Do not schedule unnecessary ACTION_ALARM_UPDATE alarm. 2021-09-02 13:54:24 +08:00
Azuo
c744d3c7f8 Improve translation. 2021-08-19 11:31:24 +08:00
Azuo
7b93548b0b Use any available Maps app, not just explicitly Google Maps. 2021-08-16 12:39:11 +08:00
Azuo
260e36b305 Show & hide all-day events at the right time. 2021-08-15 19:13:46 +08:00
Azuo
00af2159ea Correct some translations. 2021-08-15 18:06:11 +08:00
Azuo
c26021de03 Fix #321; Update Simplified Chinese. 2021-08-14 00:55:37 +08:00
Azuo
218dae8cc2 When tapping the event time, it is more reasonable to open the calendar rather than the event details (tap the event title for the details). 2021-08-13 22:10:44 +08:00
Azuo
b3e2d8d843 Fix FontRequest thread leaks and UI bugs related to custom fonts. 2021-08-13 22:09:46 +08:00
Azuo
80d1077dab Make LocationService work in case GMS is not available. 2021-08-12 14:12:30 +08:00
Tommaso Berlose
dd2a74aaf6 Close #310, added weather as glance provider 2021-05-14 17:15:34 +02:00
Tommaso Berlose
fb1953d513 Added custom widget margin and padding, added new preview manager 2021-05-14 16:10:56 +02:00
Tommaso Berlose
b081b9adbb
Merge pull request #327 from Moutony/patch-31
Update French to try fixing #321
2021-05-14 16:10:16 +02:00
Moutony
fd398faf42
Update French to try fixing #321 2021-05-14 11:41:43 +02:00
Tommaso Berlose
e14662c534
Merge pull request #324 from Moutony/patch-30
French update v2.3.3 (139) - 13th May 2021
2021-05-14 08:57:58 +02:00
Tommaso Berlose
4224562512
Merge pull request #323 from Moutony/patch-29
GeoNames was missing an S
2021-05-14 08:57:51 +02:00
Moutony
f13d426831
Fixed : Widget alignment 2021-05-14 02:33:56 +02:00
Moutony
5dc7a1b30d
Fixed : Widget alignment 2021-05-14 02:25:29 +02:00
Moutony
6538cdebc2
Text alignment 2021-05-13 09:20:04 +02:00
Moutony
78709ed018
Text alignment is more relevent than Widget align
Alignment is more correct too
2021-05-13 09:18:58 +02:00
Moutony
c0e87047c2
French update v2.3.3 (139) - 13th May 2021
Loving the new logo!
2021-05-13 09:06:53 +02:00
Moutony
1a2c97d61f
GeoNames was missing an S 2021-05-13 08:58:28 +02:00
Tommaso Berlose
4335751749
Merge pull request #320 from Drumber/translation
Updated German translation
2021-05-12 20:44:24 +02:00
Tommaso Berlose
9bbc816bea
Merge pull request #319 from chreddy/patch-8
Updating Danish translation
2021-05-12 20:44:02 +02:00
Lars
e8a6743dc4 Updated German translation 2021-05-12 18:28:42 +02:00
chreddy
5d8ceb98cc
Updating Danish translation
Adding a translation for default_apps_settings_header, making the translation complete
2021-05-11 23:02:22 +02:00
Tommaso Berlose
dfff4c5e1b Merge branch 'develop' into main 2021-05-11 21:05:26 +02:00