0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

1497 Commits

Author SHA1 Message Date
Houssam Salem
e07f3da29c Fix being unable to replay newly recorded sound 2016-06-26 22:24:29 +10:00
Houssam Salem
e1f911928b Adjust black theme colors 2016-06-23 13:58:40 +10:00
Houssam Salem
e3f5e07da3 Color entire text box for dupes in note editor 2016-06-21 15:59:46 +10:00
Tim Rae
b5c9ee863a Merge pull request #4325 from hssm/filtered-infinite
Fix unclosable deck options on new filtered deck
2016-06-12 21:12:18 +09:00
Houssam Salem
9b051cabfd Fix unclosable deck options on new filtered deck 2016-06-12 21:29:26 +10:00
jvanprehn
d6e6bdafcc Statistics: right y-axis disappeared on "BREAKDOWN"
Solves: https://github.com/ankidroid/Anki-Android/issues/4317
Also fixed bug in AdvancedStatistics which:
- Made it crash if no cards were studied today
- Made it only take into account cards studied today in 1 deck
2016-06-05 21:39:04 +02:00
timrae
69ff377c0b Remove margins for whiteboard/gestures when not fullscreen 2016-06-04 00:05:33 +09:00
Tim Rae
b74358441c Revert "Enable drawer swipe when whiteboard / gestures enabled" 2016-06-03 06:15:28 +09:00
Houssam Salem
599a03f4f7 Merge pull request #4307 from jvanprehn/advanced-stats-new-today
AdvancedStatistics: take new cards already studied today into account
2016-05-29 21:48:33 +10:00
jvanprehn
e6c87bcf69 AdvancedStatistics: take the new cards already studied today into account 2016-05-29 13:16:56 +02:00
Houssam Salem
acaddadaa3 Update changelog 2016-05-29 19:26:53 +10:00
Tim Rae
3d7ebba1ff Merge pull request #4304 from timrae/fullscreen-gesture
Resume immersive mode on swipe in addition to tap
2016-05-29 12:02:00 +09:00
Tim Rae
c7b588d9cf Merge pull request #4303 from timrae/appbar-npe
Fix NPE in updateScreenCounts()
2016-05-29 12:01:52 +09:00
Timothy Rae
5dccee3535 Fix NPE in updateScreenCounts() 2016-05-29 11:29:16 +09:00
Timothy Rae
3567ce2e18 Resume immersive mode on swipe in addition to tap 2016-05-29 11:21:48 +09:00
Timothy Rae
163fdb0968 Don't immediately switch to normal undo on empty whiteboard undo queue 2016-05-29 08:55:30 +09:00
Houssam Salem
c76b539981 Roll back support libs
Might fix the FAB repositioning issue.
2016-05-27 17:48:14 +10:00
Houssam Salem
93b249bb98 Correctly update interface after tapping unreviewable deck
Fixes inconsistencies with the currently selected deck, the currently
highlighted deck in the deck list, and the study options fragment (if
visible).
2016-05-25 15:54:42 +10:00
Houssam Salem
69b321b7ba Restart DeckOptions only after listener returns
Fixes a crash on Android 2.3 when changing options group.
2016-05-24 18:04:57 +10:00
jvanprehn
21a556f34c Remove cumulative lines from "Answer Buttons" stats graph (https://github.com/ankidroid/Anki-Android/issues/3506) 2016-05-22 12:44:32 +02:00
Houssam Salem
c68a9f335e Update support libraries 2016-05-18 14:25:19 +10:00
Houssam Salem
dbba949ad0 Merge pull request #4287 from jvanprehn/statistics-legend-order
Move "Cram" bar to top in Review Count/Review Time & fix legend order
2016-05-18 14:14:18 +10:00
Houssam Salem
d0c0029e39 Fix NaN in overview stats calculations 2016-05-17 13:04:17 +10:00
Houssam Salem
7564e341b2 Merge pull request #4282 from jvanprehn/pie-chart-rotation-and-legend
Make pie chart rotation direction, legend order and legend text consistent with Anki Desktop
2016-05-17 12:46:02 +10:00
jvanprehn
4917ff138c - Move "Cram" bar to top in Review Count/Review Time (solves https://github.com/ankidroid/Anki-Android/issues/4277)
- Make order in which legend items are shown consistent with Anki Desktop (reverse order for done & due charts, but keep cumulative as last item)
2016-05-16 21:48:17 +02:00
jvanprehn
e754ec71a2 - Make pieces of the "Cards Types" pie chart start from the same position (12 o' clock, was 3 o'clock) and move in the same direction (clockwise, was anti-clockwise) as in Anki Desktop (solves https://github.com/ankidroid/Anki-Android/issues/3349)
- Make the order of the legend's elements in the statistics charts deterministic (solves https://github.com/ankidroid/Anki-Android/issues/3349)
- Change text of legend item "Suspended" in the "Cards Types" pie chart start to "Suspended+Buried" (solves https://github.com/ankidroid/Anki-Android/issues/3349 and https://github.com/ankidroid/Anki-Android/issues/3562)

- Explain the algorithm used for calculating ticks in ChartBuilder
- Explain why we use LinkedHashMap instead of HashMap (to retain order of Legend Items)
- Adhere to code conventions

- Behave consistently with Anki Desktop in case of no reviews. In that case the pie chart should not be shown at all (it was all yellow). This was reported between the lines of this issue:https://github.com/ankidroid/Anki-Android/issues/3384

- Replace if / else by (mSum == 0) ? 1 : mSum
2016-05-16 14:22:04 +02:00
Houssam Salem
6911cfc9f6 Add forecast to the overview statistics
Also rename the "Progress" block to "Added" to match the desktop.
2016-05-16 12:35:28 +10:00
Timothy Rae
6a8439e57e Bumped version to 2.6beta1
@branch-specific
2016-05-08 22:05:50 +09:00
Timothy Rae
a2330aecfe Updated strings from Crowdin 2016-05-08 22:04:04 +09:00
Timothy Rae
0f48a3cc50 Bumped version to 2.6alpha37
@branch-specific
2016-05-08 17:42:53 +09:00
Houssam Salem
8adc5c79e7 Use parent activity of fragment to start activities for result
Because the parent activity is what receives the result, and the request
code would be modified if the fragment is the one that launches it.
2016-05-08 18:12:39 +10:00
Timothy Rae
3026e14f36 Bumped version to 2.6alpha36
@branch-specific
2016-05-08 05:20:06 +09:00
Tim Rae
58c24bb9c6 Merge pull request #4273 from timrae/fullscreen-prekitkat
Fix some bugs with fullscreen mode on old APIs
2016-05-08 05:18:27 +09:00
Timothy Rae
07c47389ef Fix some bugs with fullscreen mode on old APIs
* The immersive mode layouts should not be used below KitKat
* The layout margins are ignored in Gingerbread without layout_gravity set
* Also renamed isSystemUiVisible() to make the meaning a bit more clear
2016-05-08 05:14:45 +09:00
Tim Rae
41ba3e115e Merge pull request #4272 from hssm/disabled-prefs-style
Use selector with disabled color for prefs text color
2016-05-08 04:57:21 +09:00
Houssam Salem
36a5a8a37b Use selector with disabled color for prefs text color
Allows disabled preferences to have a more suitable disabled color.
2016-05-08 05:42:02 +10:00
Timothy Rae
ab76f283a6 Bumped version to 2.6alpha35
@branch-specific
2016-05-08 04:16:18 +09:00
Timothy Rae
503c01830b Updated strings from Crowdin 2016-05-08 04:09:35 +09:00
Tim Rae
f8a4d7d875 Merge pull request #4271 from timrae/drawer-enable-reviewer
Enable drawer swipe when whiteboard / gestures enabled
2016-05-08 04:03:04 +09:00
Timothy Rae
a60f6a8290 Enable drawer swipe when whiteboard / gestures enabled 2016-05-08 03:58:30 +09:00
Timothy Rae
87ce79529c Bumped version to 2.6alpha34
@branch-specific
2016-05-08 03:23:19 +09:00
Houssam Salem
fadb84a427 Fix audio recording not saving and cases where recorder stops
- Fixed audio not saving if recording is terminated with the "Save"
action icon.
- Fixed many cases where the recorder would become unusable after the
first use.
2016-05-08 03:01:19 +10:00
Timothy Rae
48a46335b7 Change whiteboard erase stroke icon to eraser 2016-05-07 23:37:03 +09:00
Houssam Salem
d168d1ce8e Fix query not using selectionArgs
The attempted string format would always fail, making the block
below it inaccessible.
2016-05-08 00:21:07 +10:00
Houssam Salem
156ee6b91f Explicitly supply locale in string formatting calls 2016-05-07 20:52:55 +10:00
Houssam Salem
e0da8e750f Merge pull request #4266 from hssm/finddupes-string-compare
Fix string comparison in _findDupes
2016-05-07 20:31:15 +10:00
Houssam Salem
a91e3f5904 Fix string comparison in _findDupes 2016-05-07 20:28:02 +10:00
Timothy Rae
931095b538 Bumped version to 2.6alpha33
@branch-specific
2016-05-06 22:26:38 +09:00
Timothy Rae
44f4a2aec7 Updated strings from Crowdin 2016-05-06 21:05:07 +09:00
Tim Rae
e472bda24b Merge pull request #4265 from timrae/whiteboard-gesture-fix
Whiteboard gesture fix
2016-05-06 19:08:17 +09:00