Houssam Salem
c8eb9baa95
Fix colors and missing buttons in previewer
2016-07-01 20:09:44 +10:00
Houssam Salem
caaadc93b8
Implement card cycling in previewer
2016-07-01 05:24:20 +10:00
Houssam Salem
15085cfce6
Adjust max-width image resizing
...
The pre-Chrome engine (Android 4.3 and below) uses the screen's
dimensions to determine the width, so we need to keep that at the
original 90% to avoid horizontal overflow. The Chrome engine uses the
dimensions of the parent element so we safely use 100% without causing
overflow.
2016-07-01 03:19:12 +10:00
Houssam Salem
26709f211b
Always set locale when returning to Activity
...
Fixes issue where the system locale is used instead.
2016-06-30 00:21:50 +10:00
Houssam Salem
f4eccd5af6
Merge pull request #4348 from hssm/browser-sort
...
Don't prevent rendering in browser when scroll at 0
2016-06-28 21:10:27 +10:00
Houssam Salem
1a1fd6263b
Merge pull request #4350 from hssm/about-string
...
Remove donate link
2016-06-28 21:10:10 +10:00
Houssam Salem
d5cdac5ff5
Remove donate link
2016-06-28 21:07:55 +10:00
Houssam Salem
40857b439d
Don't prevent rendering in browser when scroll at 0
...
Instead, only avoid rendering if the list is empty or the scroll is
out of bounds.
2016-06-28 20:56:00 +10:00
Houssam Salem
44117ad7cf
Merge pull request #4349 from hssm/img-width
...
Set max-width of images to 99%
2016-06-28 20:04:39 +10:00
Houssam Salem
40d9521941
Set max-width of images to 99%
...
Since card content scrolls vertically it makes sense to still use 90%
for max-height in order to keep some of the card visible (like text
above or below an image).
2016-06-28 19:59:57 +10:00
Houssam Salem
7da2be7878
Update support libs and SDK versions
2016-06-27 14:55:48 +10:00
Houssam Salem
c9a86f5cfe
Tweak black theme colors again
...
Even brighter current deck and button borders.
2016-06-26 23:10:01 +10:00
Houssam Salem
28bd4dee84
Bump app version to 2.7dev
2016-06-26 22:48:05 +10:00
Houssam Salem
24a569b841
Merge pull request #4345 from hssm/audio-rec-play
...
Fix being unable to replay newly recorded sound
2016-06-26 22:25:51 +10:00
Houssam Salem
e07f3da29c
Fix being unable to replay newly recorded sound
2016-06-26 22:24:29 +10:00
madhead
e52000d986
Fix #3240 : Option to hide 'minutes left' when reviewing.
2016-06-23 22:01:43 +03: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