1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-28 15:21:17 +00:00
Commit graph

84 commits

Author SHA1 Message Date
61d1119889 Improve log activity title 2017-10-03 22:46:23 +09:00
42a87031f1 Added "edit ignores" button (fixes #881) 2017-09-26 21:19:14 +09:00
7e37c14a82 Various lint fixes 2017-09-04 13:43:27 +09:00
749c29591a Various lint fixes 2017-07-19 13:12:55 +09:00
Jessie Chatham Spencer
ab88ca252b Added dialog displaying device ID and QRCode addressing #790 (#912)
* Wip adding dialog.

* Wip adding ImageRequest functionality.

* Got a text converted to a QrCode using the syncthing Api.

* Dialog now shows device ID and QRCode.
The dialog also keeps it state when the device rotates and the copy ID functionality has been moved
to the dialog, from the drawer.

* Moved share device ID functionality to the Device ID dialog.

* Addressed code change requests and added improved dialog layout by @nutomic.
2017-07-06 14:55:18 +09:00
Jessie Chatham Spencer
0c1abb3c9c Added support for all versioning types in the app UI. Addressing #718 (#896)
* Merge branch 'Fix718'
Merged fixes for issues #718, added functionality for all the file versioning types in the app UI.

* Basic theme is working

* GOt dialog working with setREsult.

* Addressed issues raised and fixed orientation change bug.
Adressed issues radied by nutomic:
- Changed the String concatenation so it uses String.format.
- Made members variables private that were not previously private by mistake.
- Changed name from FolderPathTextView to FolderPathTextViewFragment.
- Fixed typo in NumberPickerFragment
- Now uses TImeUnit for time conversion
- Changed from DialogFragment to a dialog themed Activity inorder to have correct themeing.

About the orientation change bug. When the dialog themed activity was open and the orientation was changed, it would cause the background activity(The FolderActivity) to
recreate itself. In the process of recreating itself it would reset the mFolder variable and then reinitialise it in the OnApiChange listener. However the result from the
Dialog was returned before the mFolder had been reinitialised and was still null, so inbetween the result being returned and the mFolder variable being reinitialised the new file versioning
configuration had to be stored and then applied to the mFolder variable in the onApiChange listener. The file versioning configuration is temporarily stored in the mVersioning variable which is
an instance of Folder.versioning.
This error only occurred when using an Activity as a dialog and using the startActivityForResult method for initialisling the activity. Before when using a dialogfragment and an interface to callback to
the parent activity, everything happend in the correct order.

* Fixed versioning dialog lag.
The initial updateFragmentView() is called in onCreate() and the
fragment is only updated when a new file versioning type is selected.

* Removed FolderPathTextViewFragment
The fragment is removed, and a helper method has been added to FolderPickerActivity to create an intent
to the the FolderPickerActivity for result.
2017-06-15 17:44:44 +09:00
Paul Annekov
6e1b689fa9 [WIP] Ability to share to syncthing (#843)
* increased folder button size

* increased folder button size

* code formatting

* init

* added copy

* get name from content provider

* implemented file sharing, multiple sharing and display name getter

* putting everything in order

* cancel button added

* ignore existing files, translation, styling

* fixed file copy

* Updated UI, moved copy to background, fixed content:// copying

* Fixed possible crash when displayName == null

* Fixed lint issues, removed ru translations

* Fixed plural params

* Escaped quotes to display them in Toast

* Changed spinner design to material one

* Changed copy code, moved credits to code, fixed members naming

* Fallback to id if label is not set

* Added doc for some methods

* Removed try-catch as there are no exceptions here

* Removed try-catch as there are no exceptions here

* Fixed general exception type

* Removed ShareActivity from recents

* Moved style to appropriate place

* Small fixes for toString()

* Moved credits from comment to javadoc of the class
2017-03-29 16:36:16 +09:00
Paul Annekov
1170d8ceb1 Click region of Open folder button (#830)
* increased folder button size

* increased folder button size

* code formatting
2017-01-10 23:27:39 +07:00
3e4effa7c6 Added padding for folder button 2016-12-26 09:33:50 +09:00
6d6c6beac0 Fixed folder items not being clickable 2016-12-22 14:19:19 +09:00
ea9af597a5 Added button to open folder from list (fixes #770) 2016-12-17 23:34:54 +09:00
e0412ec51b Use data binding for folder items 2016-12-17 23:26:06 +09:00
a201cd8789 Turned DeviceFragment and FolderFragment into activities 2016-11-11 00:37:27 +09:00
9cba4e0ef0 Moved views to seperate package 2016-10-31 18:16:30 +09:00
8f1f5ba76e Mark directory selection item as focusable (fixes #486, #762) 2016-10-17 00:00:42 +09:00
aefec10f84 Added missing files for previous commit 2016-09-07 03:05:45 +02:00
50f98e3f69 Set user/password in config instead of removed STGUIAUTH (fixes #704). 2016-08-25 14:23:19 +02:00
c467ef7792 Mark drawer items as focusable and clickable (fixes #486) 2016-08-19 02:35:42 +02:00
cf1585494f Removed unused FolderFragment/DeviceFragment drawables. 2016-07-20 18:16:53 +02:00
5b9cd28eb8 Fixed crash when opening DevicesFragment (fixes #690).
It seems that the xxxhdpi `active` drawable was corrupted. The old
build tools could still read the drawable, but the new ones
couldn't handle it. Regenerating the drawable fixed the crash.

Also removed `inactive` drawables and xml drawable which weren't
being used.
2016-07-20 18:11:58 +02:00
Lars K.W. Gohlke
1aafb38764 adds display of syncthing version in main drawer 2016-06-09 08:55:49 +02:00
573533a35f Fixed device toggle (fixes #647). 2016-05-19 11:40:55 +09:00
12997d6b36 Added support for folder labels. 2016-05-04 03:41:55 +02:00
17ff8e7f83 Moved donate link to app settings. 2016-04-03 21:08:22 +02:00
963704778a Replaced deprecated xml attribute. 2016-03-11 22:32:23 +01:00
a15d08cfb3 Moved exit button to static position in drawer (fixes #571). 2016-02-24 23:08:27 +01:00
f299ca2d1e Added copy button to device IDs (fixes #559). 2016-02-09 23:01:39 +01:00
7117933b6d Added input type field to text inputs (fixes #542). 2016-02-09 21:50:33 +01:00
691ca26daa Added share device ID button to drawer, always show scrollbar. 2016-02-08 23:03:20 +01:00
776a746740 Removed device ID placeholder which is not needed any more. 2016-02-08 22:34:59 +01:00
af9c1421cd Added restart icon to drawer (fixes #420). 2015-12-22 15:54:13 +01:00
35a7e1bf02 Removed unused resources. 2015-11-13 23:57:04 +01:00
093afbcb13 Improved usage reporting dialog. 2015-11-13 00:53:22 +01:00
Lode Hoste
e7f347376c Fix empty log view (fixes #470) 2015-11-09 12:02:12 +01:00
George Venios
aad7f2be6a Updated device details styling.
Made actionmode bar overlay the toolbar.
Updated UI for device edit/create fragment to match the folder one.
Refactored FolderFragment to match DeviceFragment.
Improvements for Details styles and item heights.
2015-10-15 00:43:07 +01:00
George Venios
a76bc00eb9 Fixing introduced lint errors/warnings. 2015-09-12 13:47:52 +01:00
George Venios
16fa82179d Fix for custom layout dialogs using app theme. 2015-09-12 13:46:37 +01:00
George Venios
7e8eff2729 Adding newline. 2015-09-12 13:46:35 +01:00
George Venios
7f9e773eaa DrawerFragment improvements. 2015-09-12 13:46:34 +01:00
George Venios
020e593b1a Made loading dialog good look on tablets again. 2015-09-12 13:46:32 +01:00
George Venios
ccea84abab Used light theme for toolbar popups (e.g. action overflow). 2015-09-12 13:46:31 +01:00
George Venios
e166f14fd5 Updated folder picker item styling and margin. 2015-09-12 13:46:31 +01:00
George Venios
c924578e14 Fixed grid/keyline alignment. 2015-09-12 13:46:27 +01:00
George Venios
23ffc8c653 Updated dark icons. 2015-09-12 13:46:25 +01:00
George Venios
6a05def230 Fixed toolbar alignment on pre-Lollipop. 2015-09-12 13:46:19 +01:00
George Venios
d54e1aa47c Ditched deprecated actionbar APIs and moved to Toolbar.
Also:
Corrected styling of the tab layout to match previous implementation.
App now follows material convention for side drawer overlapping the app bar.
2015-09-12 13:46:19 +01:00
George Venios
7a94eb828c Minor update on loading dialog progressbar margin. 2015-09-12 13:46:18 +01:00
George Venios
dcd3688a8e Removed RelativeLayouts from web gui layout.
Also made loading spinners consistently sized.
2015-09-12 13:46:17 +01:00
George Venios
8e04ce3afa Initial replacement of deprecated actionbar tabs with TabLayout.
Still uses default styling.
2015-09-12 13:46:16 +01:00
George Venios
eb4f633130 Updated side nav to match material spec.
Icons and drawable paddings to be updated.
2015-09-12 13:46:16 +01:00