1923 Commits

Author SHA1 Message Date
Siddharth Sharma
b52243e2ed Fix colors 2018-02-15 23:35:59 +00:00
RohanBh
fc56c035ed Fix basicTest to run initially from any saved page 2018-02-15 22:46:31 +00:00
Brijesh Shah
3ded0bb646 style: Apply correct indentation 2018-02-16 04:12:55 +05:30
Brijesh Shah
fd82f7cbab refactor: Extract dimensions of resources 2018-02-16 01:17:22 +05:30
arpank10
c7f3ca82ac Fade in/out effect added during transition from day to night mode 2018-02-14 20:33:21 +00:00
arpank10
81e45a2259 Fade in/out effect added during transition from day to night mode 2018-02-14 20:33:21 +00:00
vamsi98
27ceec0ec2 Improve hide toolbar when scrolling
I changed the code to make toolbar hide when user scroll up as
default.In setting it will give an option to enable the
"Not hide toolbar".By enabling it toolbar will not hide as the
user scrolls up else default will work as usual.

Closes https://github.com/kiwix/kiwix-android/issues/10
2018-02-14 20:01:23 +00:00
srv-twry
dbc12ec1e0 refactor: Implement SearchActivity using MVP pattern 2018-02-14 19:48:58 +00:00
srv-twry
c359881df8 refactor: Convert SaveNetworkLanguages AsyncTask to run with RxJava 2018-02-13 23:46:42 +00:00
srv-twry
c95b1dd0a2 refactor: Replace anonymous classes with lambdas 2018-02-13 17:15:17 +00:00
Isaac Hutt
ff5f14ea3f Test release build in automated tests 2018-02-13 16:39:05 +00:00
srv-twry
531459dbe0 chore: Remove redundant view casting in the project 2018-02-13 14:46:11 +00:00
Isaac Hutt
17ba7be258
Add note about build variants 2018-02-13 12:07:36 +00:00
Isaac Hutt
ada23c5e27
Merge pull request #328 from kiwix/fix-library-report
improvments to library UI status reporting
2018-02-02 00:59:42 +00:00
Isaac Hutt
d5112d268a
Merge branch 'master' into fix-library-report 2018-02-02 00:44:18 +00:00
mhutti1
41c0bb84c4 Update JNI and catch the new exception thrown by an invalid ZIM 2018-02-02 00:33:17 +00:00
mhutti1
2f93ebf800 Add sleeps to attempt to pass animation tests 2018-01-31 23:42:56 +00:00
Ryan10145
a6718ad09a Fix Font Licensing 2018-01-23 18:54:22 +00:00
Ryan10145
5d209bca6f Fix Indentation 2018-01-22 22:43:48 +00:00
ryan10145
9c3ce4a2cc More compact language selection dialog 2018-01-22 22:43:48 +00:00
kelson42
c497f408f3 New UI translations 2018-01-22 20:03:32 +01:00
David Sn
e19af7b0cd Show "no items available" if returned library XML is empty
This commit fixes #323 by checking if books is null before:
Attempt to invoke virtual method 'int java.util.LinkedList.size()' on a null object reference

Signed-off-by: David Sn <divad.nnamtdeis@gmail.com>
2018-01-20 20:26:14 +00:00
Emmanuel Engelhart
1fd5cf91ff First TRANSLATING.md file 2018-01-18 14:37:37 +01:00
Kelson
67d860d3e7
Merge pull request #346 from kiwix/invible_getcontent_menu
'Get content' menu entry should be masked in custom apps #341
2018-01-17 22:54:08 +01:00
Emmanuel Engelhart
3b2da78605 'Get content' menu entry should be masked in custom apps #341 2018-01-17 21:56:24 +01:00
Emmanuel Engelhart
d834f641fd Small indentation fix 2018-01-17 15:38:13 +01:00
Emmanuel Engelhart
1c59d54c9f Fix script to make screenshots 2018-01-17 13:53:35 +01:00
Emmanuel Engelhart
fca5d525a0 Better zim_manager view title #302 2018-01-17 12:21:14 +01:00
Emmanuel Engelhart
88ee816ab5 Update UI translations 2018-01-17 12:01:41 +01:00
Albert221
108af1096b Move majority of hardcoded consts to separate file 2018-01-14 16:56:47 +00:00
Albert221
8ca00227fd Move bookmark icon to bottom bar when visible
Resolves #337.
2018-01-13 15:08:40 +00:00
mhutti1
915bafc549 Use backup cache mechanism to play videos split between files 2018-01-04 22:10:30 +00:00
mhutti1
25a8cb97e1 Use virtual video location too play ZIM videos 2018-01-04 22:10:30 +00:00
Elad Keyshawn
d99c5826ad
Merge branch 'master' into fix-library-report 2017-12-24 15:25:35 +00:00
Julian Harty
726ef5d0b3 A partial improvement to deal with problematic data in the library file. Does not seem to catch JNI exceptions/crashes. To be continued... 2017-12-16 11:15:45 +00:00
Julian Harty
eeba917fe2 Improved the UI: users can now understand the purpose of the WiFi
option.

Duplicated the text that appears on the preferences in the summary so
that the user can actually read what it says. This particularly affects
smaller screened device. It might be worth revising the title, however
that'd then need any changes to be retranslated. This change isn't ideal
(duplicating content on the screen) however it seems practical and
helpful. You're welcome to help improve it.
2017-12-16 09:35:00 +00:00
Julian Harty
83eccf9704 Removed unused imports. 2017-12-16 06:24:22 +00:00
eladkeyshawn
d51759b4b9 more indenting 2017-12-15 15:45:30 +00:00
eladkeyshawn
0e769fe47a fix indentation 2017-12-15 15:32:13 +00:00
Elad Keyshawn
68eb389ba4
Merge branch 'master' into fix-library-report 2017-12-15 17:23:38 +02:00
eladkeyshawn
edacdfd13b update ui ("No downloads") when download stopped from notification 2017-12-15 15:19:39 +00:00
Automata-Development
44d1a11236 Fixed formatting issues 2017-12-15 12:50:51 +00:00
Automata-Development
fe3c0b83b7 Bug fixes 2017-12-15 12:50:51 +00:00
Automata-Development
ed24885f72 Changed settings screen to use unified language select dialog. 2017-12-15 12:50:51 +00:00
Automata-Development
e0ec00b3d1 Created custom LanguageSelectDialog class
Created custom LanguageSelectDialog class. This can be reused in multiple places. The library screen has been modified to use this class. Settings screen still requires modification.
2017-12-15 12:50:51 +00:00
eladkeyshawn
02dbea72d7 stop refreshing when no items exist 2017-12-15 11:49:51 +00:00
eladkeyshawn
5602c3d9e6 clean up logic
add no items report
2017-12-15 11:12:24 +00:00
Julian Harty
b9c78f7ca7 Replaced hardcoded URL with hostname to make tests more portable. 2017-12-15 11:10:16 +00:00
Julian Harty
4977ec9a3c Removed unnecessary import statement. 2017-12-15 10:05:50 +00:00
Julian Harty
c10d836370 Bug fix for #320 triggered when the library contained 1 item.
A sample library_zim.xml is available at
https://github.com/kiwix/testfiles/blob/master/libraryfiles/one_item_in_library/library_zim.xml

The bug seems to have been introduced inadvertently in
b9930252e1
which returned a null to `getView(...)`

I've left a key log statement as this was one clue (after checking
various other areas of the codebase) that indicated there might be a
problem related to the number of entries rather than the attributes of
the item. I aim to revise the format of the log message as part of a
wider update on logging.
2017-12-15 10:05:50 +00:00