summaryrefslogtreecommitdiff
path: root/android/source/res
AgeCommit message (Collapse)Author
2019-04-05android: fix ArrayIndexOutOfBounds on selecting 'Drawings' in ↵kaishu-sahu
DefaultFileFilter setting Change-Id: I5ed924d9d79db169b11a0561b89da9b57eb078d9 Reviewed-on: https://gerrit.libreoffice.org/66971 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-05android: Setting default values to setting preference, minor ux improvementskaishu-sahu
Change-Id: I356871429f2e26d9d34e0e1428334a4d2287b683 Reviewed-on: https://gerrit.libreoffice.org/67295 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-11-04[Pardus] ability to change slide nameMert Tumer
This patch is sponsored by ULAKBIM/Pardus project. Signed-off-by: Mert Tumer <merttumer@outlook.com> Change-Id: I6361e3d23b03e5463d165f7f02dacad8be9206da Reviewed-on: https://gerrit.libreoffice.org/62861 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.1004@gmail.com>
2018-11-02[Pardus] language improvements on AndroidGulsah Kose
This patch is sponsored by ULAKBIM/Pardus project. Change-Id: Ia890f8c3f8d638beb4c06bf1c73d49f7b0fac72a Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/62769 Tested-by: Jenkins
2018-11-02[Pardus] language improvements on AndroidMert Tumer
More hardcoded strings extrated to the resource file Few Turkish language improvements This patch is sponsored by ULAKBIM/Pardus project. Signed-off-by: Mert Tumer <merttumer@outlook.com> Change-Id: I9c49d1b8ec3dfc88a19832a2cdea2c7cbaf2be42 Reviewed-on: https://gerrit.libreoffice.org/62757 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.1004@gmail.com>
2018-10-18Added Turkish Language Support on Android ViewerMert Tumer
Change-Id: I0b2f1ca5386510e3a8217cf3bb3e08a940f438f7 Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/61788 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-10-18Added language support on Android ViewerMert Tumer
Change-Id: I05a189dcee9cf4415ce59771da03c08cf0fef6c4 Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/60727 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-10-06Extract hardcoded strings to string resource file on Android ViewerMert Tumer
Change-Id: Ie2276ac162062e7365c9605f98fe03e5011ba6cb Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/60688 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-08-21Added Clear Formatting button on Android ViewerMert Tumer
Change-Id: If576aaf3e5095e660219fed9f5e11971c9a73469 Signed-off-by: Mert Tumer <merttumer7@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/59293 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-08-21Fix listing all options (presentation and spreadsheet) on all documentsMert Tumer
Change-Id: I2f43818dbf490de10a54da7f36c6bae3d4d62e39 Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/59289 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-08-15tdf#89860 ability to print from Android ViewerMert Tumer
Change-Id: I13c7f3e085095f1c0d88ab3668557fcc1c4cb23a Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/58900 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-08-11Added PDF Export option on Android ViewerMert Tumer
Change-Id: I89d0ca239e3a713979f84a77a66d6da95aad234d Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/58826 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-31Rename/Delete worksheets and slides option on Android ViewerMert Tumer
Change-Id: I57f379f0283ecc1a456e44f9fefcfd3b3e56a46c Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/58327 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-31Setting visibility of menu items instead of disabling or enabling themMert Tumer
On Android Viewer Signed-off-by: Mert Tumer <merttumer@outlook.com> Change-Id: I1fc21f84f5063afe3b91bf26401f9fcacc66b6c8 Reviewed-on: https://gerrit.libreoffice.org/58285 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-31Renamed "Font Back Color" to "Highlight Color" on Android ViewerMert Tumer
Change-Id: Ia87a8091cf7ca7f15b9be7d5368f314d20421258 Signed-off-by: Mert Tumer <merttumer@outlook.com> Reviewed-on: https://gerrit.libreoffice.org/58283 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-15Developer ModeXimeng Zu
Added an settings option to enable Developer Mode, in which you can send UNO commands from the Viewer. You can also add properties to the command. Change-Id: I76cbb55771cdd5cea89da65ddf67e48e12745b41 Reviewed-on: https://gerrit.libreoffice.org/37045 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-12Style tab added to Android ViewerMert Tumer
This is a base change, further implementations may be added Change-Id: I8aa5b5314f2b1e93821baf3da3e44803904f57fa Reviewed-on: https://gerrit.libreoffice.org/57249 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-12tdf#118618 fix document browser doesnt list all documentsMert Tumer
Change-Id: I70aa1eb2bf08d3fa82a5ab86543198a263729ac9 Reviewed-on: https://gerrit.libreoffice.org/57150 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-06-01[Pardus] tdf#106371 ability to insert/delete tables Android ViewerMert Tümer
This patch is sponsored by ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: I2d160b53ad432be96deb6f13c0d91a6053744dc8 Reviewed-on: https://gerrit.libreoffice.org/54803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-01Added Storage permission handling on the Android ViewerMert Tümer
This patch prevents document browsing and creating a new document from happening when write external storage permission is denied by the user. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: Idf39a291a15a9dac023f4318329baed1baa90e14 Reviewed-on: https://gerrit.libreoffice.org/52868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-03-15tdf#96796 - Added clipboard actions for the Android ViewerMert Tümer
Change-Id: I52e134532ab70e765b6ccd929f189be84f9c9a90 Signed-off-by: Mert Tümer <merttumer7@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/51286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-03-14Revert "tdf#96796 - Added clipboard actions for the Android Viewer"Thorsten Behrens
Breaks Android tinderbox This reverts commit 31e939c9f4b29fb2b2e63eb096450cf3da35d67f. Change-Id: Id565c9ef8330c0b3bce2c678facb7605dcf3e356
2018-03-14tdf#96796 - Added clipboard actions for the Android ViewerMert Tümer
Change-Id: I2779ef9a9f68dcf08c3072ffe83b9f2450b7257e Signed-off-by: Mert Tümer <merttumer7@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/50757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-24[Pardus] tdf#112481 Ability to add worksheets on CalcMert Tümer
This patch is sponsored by ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: Id67e3c400971b47738fe2f628955534f34839493 Reviewed-on: https://gerrit.libreoffice.org/49294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-02tdf#115388: Android: Use HTTP SecureXisco Fauli
Change-Id: Ia2e198c20b904ba178fac2969dfa80f3f1291be1 Reviewed-on: https://gerrit.libreoffice.org/49123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-01-30[Pardus] tdf#106326 ability to change font background colorMert Tümer
This patch is sponsored by ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: I4dfbb9e35214e4d4a9aa6dca1ce3d5d2604218a9 Reviewed-on: https://gerrit.libreoffice.org/48270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-30[Pardus] tdf#112482 ability to add slides to impressMert Tümer
This patch is sponsored by ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: I3c8b55d032604b30117573ac447776a1a0e5205f Reviewed-on: https://gerrit.libreoffice.org/48500 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-18pass context as parameter instead of risk of leaking memoryChristian Lohmaier
Also adjust to dynamic permissions after bumping target-SDK. There still is some confusion about the concept of "external storage" in the code. LocalDocuments already is "external storage" - clean that up a little and use AppCompat function instead of using a legacy class for ExternalDocuments provider. Doesn't help for broken ROMs though, that would need guessing pathname for a mounted SD (in addition to separate storage partition of builtin storage). Also c6e8c96d50fc2082a3c4b9553196a42bbdd6df37 incorrectly changed the conditional around, making the whole ExternalDocumentsProvider useless/a copy of the Local one (i.e. the primary, first returned by the system). Real fix for tdf#99539 likely was 66be4feef7e0d3661f01fbb2372700de5eeea070 Change-Id: I88ca7742c0f2e89d63c338c8852ad88be0a46e4b Reviewed-on: https://gerrit.libreoffice.org/45572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-01-18use string-resource with placeholder instead of hardcoded concatenationChristian Lohmaier
as this is more l10n/translation friendly Change-Id: I1050fb24e0d6e94a2f1ad1605003a9c7010ca7cb
2018-01-18android: fix some layout issues with new-document buttonsChristian Lohmaier
functionality to create new documents was added for tdf#106325 with commit 1503769fe15c122ff2bb8f6f7e7b4ab72656ddc2 However the commit had some issues, most notably clipping of the shadow effect and alignment issues to to scaling down (via the animation effect, took me quite a while until I looked at that) with having a centered pivot. I think it was due to those alignment issues that the label was set to a fixed with - which is a problem for future translation. This commit: * changes the animation to not scale down the initial views * changes the FABs' setting to use compatPadding - this not only ensures enough room for the shadow, but also allows for consistent look across android versions. Side effect is that it needs more height, so * the effect was adjusted accordingly, to shrink to/expand from the lower-right corner of the parent view, instead of "mid-air" * the labels were given a proper background drawable with rounded corners and some padding for a (much more9 polished look * formatting of the labels was split out to a style, for ease of tweaking the looks * add tools:visibility statement to see the elements in layout editor * fixed the strings for the labels (and ID) to some less awkward ones Change-Id: Ifd2d90ec8d23e40603edff19c9af9e0b32090c9f Reviewed-on: https://gerrit.libreoffice.org/42033 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-01-15tdf#103083 option to show/hide hidden files/folders on AndroidMert Tümer
The patch was sent for the ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: Iadbb688a1a976279b23d246001818ac1c21b3d47 Reviewed-on: https://gerrit.libreoffice.org/47637 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-15tdf#89639 added path text for the document browserMert Tümer
The patch was sent for the ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: I14ce3bb7c11f4cc2fe9194a99b433764209b1528 Reviewed-on: https://gerrit.libreoffice.org/47635 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-13tdf#96790 search function in non experimental modeMert Tümer
The patch was sent for the ULAKBIM/Pardus project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: I4e2ecc25eee6535b7d8a89800aaa8135cf517889 Reviewed-on: https://gerrit.libreoffice.org/47568 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-16tdf#106370 Android: add ability to insert picturesXimeng Zu
Added ability to insert pictures to Android Viewer. You can take photo or select photo from device or the cloud (Google photos, Dropbox). You can also compress the picture before inserting it with multiple compress grades. So far, inserting doesn't work for Writer due LO native library issues (I think). Change-Id: If6841ba04fe18585703c8b85909cf39747dbbc2f Reviewed-on: https://gerrit.libreoffice.org/41150 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-16[Android] Add address/formula barsXimeng Zu
Added address bar and formula bar to Calc. Change-Id: I7cc7047d6d07629ab564261d294e481ae585fd29 Reviewed-on: https://gerrit.libreoffice.org/40842 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-09-07tdf#90556 android: make buildID in about a clickable link to git logChristian Lohmaier
that will allow them to deduce the age of the build Change-Id: Ic1baffbf1ecc6a743a1edd91d24c86670dc640a3 Reviewed-on: https://gerrit.libreoffice.org/41962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-08-31android: use sp (instead of dp) for font-sizeChristian Lohmaier
Change-Id: I11dbf24b38c08b4dfd3cc64dbacbcd949a37b833
2017-08-28android:singleLine is deprecated, use maxLines=1 insteadChristian Lohmaier
Change-Id: I32c7d000848f10a40a2b7b0038463c31ddade6f8
2017-08-28need to use app:srcCompat when using VectorDrawableCompatChristian Lohmaier
instead of plain android:src Change-Id: I202f5564ad4bb94a4d7bcf788a7173a9c217990d
2017-08-27[Android Viewer] Password supportXimeng Zu
Added password support for documents. Change-Id: Ifd9cf86894ddaf2fd5ad97510d2ac1b5850611ad Reviewed-on: https://gerrit.libreoffice.org/40458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-08-16Ability to change Font Color and added a new Color Picker on Android ViewerMert Tumer
Change-Id: I1d22749a446e451196f0819322cb04ed7d7befae Reviewed-on: https://gerrit.libreoffice.org/37840 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-08-07[Android Viewer] Add header funcs to CalcXimeng Zu
Added insert/delete/hide/show/optimal width or height /adjust width or heigth to Calc. These options show in a floating menu near the headers when the user taps on the headers. Also added selection on headers, i.e., user can drag on headers to select multiple columns/rows. Change-Id: I7e1994d1fa81d80c110def035c2c065e838b49ac Reviewed-on: https://gerrit.libreoffice.org/40684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-07-23Calc UI on Android ViewerXimeng Zu
Adding Calc UI. Two blank views are added as row and column headers. CommonCanvasElement is used to draw header cells on the views. [WIP] Change-Id: I37eaa82805045ab650fd127e54c8421c61a4ea27 Reviewed-on: https://gerrit.libreoffice.org/38936 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-07-11Presentation ModeXimeng Zu
Adding fullscreen presentation mode. Change-Id: Id07416ce204d1d7dd917fbd33a4d9f5072ac1703 Reviewed-on: https://gerrit.libreoffice.org/38006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-05-09tdf#107415 android: appbar invisible on lower versionXimeng Zu
Rearranged activity_main.xml in order to fix the bug of app bar invisible on lower versions of Android devices. Change-Id: Ic4ec9435ce9ef55a2596600c143114c899c30ac2 Reviewed-on: https://gerrit.libreoffice.org/36950 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-19Add BottomSheetBehavior to formatting toolbarbrainbreaker
This commit adds the BottomSheetBehavior to the formatting toolbar appearing from bottom. CoordinatorLayout replaces the RelativeLayout in activity_main and bottom toolbar is made the child of it. Also, Add 'adjustPan' option to LibreOfficeMainActivity's windowSoftInputMode flag so as to prevent soft keyboard from pushing the views up Change-Id: Ic9999c1177ac238bc7c482a69daec4e629fe6d93 Reviewed-on: https://gerrit.libreoffice.org/35768 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-18Discard StorageAccessFramework for creating new documentsbrainbreaker
This commit adds the ability to create a new document using existing file system browsing in the app. Usage of StorageAccessFramework to create new document has been ditched as it is not backward compatible. Change-Id: I852c3de337613cb01e689d532476d2c5f932c1b3 Reviewed-on: https://gerrit.libreoffice.org/36195 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-18tdf#96811 Android Viewer doesn't focus on the word you search.Ximeng Zu
Added the function of focusing on the word you search. Two methods were added. The first one is searchResultSelection, which parses a JSONObject passed from LOK and focuses on the text selection. The second one is moveViewportToMakeSelectionVisible. It handles well both documents and spreadsheets. I also tried to add a search not found toast message. Also corrected a typo. Change-Id: I4453c01afc520bf4deae4c2bd71adea2fe856d7e Reviewed-on: https://gerrit.libreoffice.org/35715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-10Fix typos to complete commit b35552f39503Andrea Gelmini
Change-Id: I2a10f9989e682dfc88f3b1d5864bfce1637933ab Reviewed-on: https://gerrit.libreoffice.org/36359 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-04-10Fix typo: 'forgeround' in multiple filesXimeng Zu
Fixed typo: forgeround --> foreground in 19 files. Change-Id: Idb4c9ccd98a949a2574cdbd5b44f91509b9856a9 Reviewed-on: https://gerrit.libreoffice.org/36154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Gautam Prajapati <gautamprajapati06@gmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>