1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00
Commit graph

237 commits

Author SHA1 Message Date
Christophe Beyls
e9ed181e61 Prepare for release 1.4.2 2017-01-12 17:45:33 +01:00
Christophe Beyls
7ec0599fd9 Added colors to distinguish track types 2017-01-12 17:32:15 +01:00
Christophe Beyls
1e748874d9 Removed underline for persons and room links and unify their appearance.
Disabled instance state save for TextViews showing heavy text or custom spans.
2017-01-09 12:25:46 +01:00
Christophe Beyls
bedab2071c Improved bookmark add/remove vector animation and make it compatible with any background color 2017-01-08 23:13:36 +01:00
Christophe Beyls
01e1c25f36 Added bookmarks export to iCalendar file, closes #5 2017-01-06 21:13:05 +01:00
Christophe Beyls
9e4efd69e2 Ensure links have a minimum height of 48dp 2017-01-06 03:26:55 +01:00
Christophe Beyls
640c304735 Use ${applicationId} placeholder in manifest where applicable for easier maintenance in forks 2017-01-06 00:09:54 +01:00
Christophe Beyls
67e5ea57af Fixed Event.getDuration() to return minutes and not seconds 2017-01-05 23:51:27 +01:00
Christophe Beyls
c8a1fdef78 Fixed some Lint warnings 2017-01-05 22:34:53 +01:00
Christophe Beyls
e0440a0ead Moved shortcuts to xml-v22 to avoid duplicating it in the final apk file 2017-01-05 22:12:01 +01:00
Christophe Beyls
6d378165e2 - Fixed bug with empty adapters in ConcatAdapter
- Cache the total item count in ConcatAdapter and skip sending specific notify* updates after notifyDataSetChanged() has been called.
2016-12-29 18:44:41 +01:00
Christophe Beyls
fb4bd3dbb3 Use wrap_content instead of ?attr/actionBarSize for Toolbar height. 2016-12-29 17:17:42 +01:00
Christophe Beyls
1348da72d4 NextLiveListFragment and NowLiveListFragment now share the same RecycledViewPool 2016-12-16 02:00:54 +01:00
Christophe Beyls
6246671c38 No more reflection hacks: replaced PreferenceFragment with AppCompatPreferenceActivity 2016-12-13 15:23:39 +01:00
Christophe Beyls
19c6fa9d97 Updated build tools 2016-12-13 14:13:30 +01:00
Christophe Beyls
f95a9ba50b Prepare release 1.4.0 2016-12-13 00:45:49 +01:00
Christophe Beyls
56f3843d9f Improved preferences screen display to make it look more live the native one 2016-12-13 00:38:49 +01:00
Christophe Beyls
1c7f29d17c Improved code to handle HTML lists 2016-12-12 22:41:26 +01:00
Christophe Beyls
d24a9dd5a9 Fixed dips to pixels rounding 2016-12-12 18:26:58 +01:00
Christophe Beyls
7e90352750 Added "bookmarks" and "live" app shortcuts for Android 7.1+ 2016-12-11 14:18:09 +01:00
Christophe Beyls
84829c3345 Extract identical vector paths to values/vector_paths.xml 2016-12-11 03:03:49 +01:00
Christophe Beyls
6c6bc28ad1 Added bookmark icon (un)check animation 2016-12-10 19:56:18 +01:00
Christophe Beyls
9ff63fb011 Added multi-level lists support to HTML parser; fixes #14 2016-12-01 22:47:01 +01:00
Christophe Beyls
9fd6c6c374 Migrated most ListViews to RecyclerViews
- Use ConcatAdapter to replace header View in PersonInfoListFragment
- Use MultiChoiceHelper to implement MultiChoiceMode in RecyclerView
- Instances of TracksListFragment share a common RecycledViewPool to lower memory usage.
2016-12-01 16:42:14 +01:00
Christophe Beyls
71b030c994 Replaced manual divider inflation with LinearLayoutCompat's divider support in links list 2016-12-01 03:45:11 +01:00
Christophe Beyls
9496513e7e Added intent-filter to enable link to notification settings when long-pressing a notification in API 21+ 2016-11-27 04:34:42 +01:00
Christophe Beyls
e38db9ae58 Updated notifications delay text in preferences screen; show a checkbox to enable notifications on API 21+ 2016-11-21 21:08:39 +01:00
Christophe Beyls
295a70d441 Improved accessibility throughout the app 2016-11-21 21:07:35 +01:00
Christophe Beyls
2ba817a56d Fixed ActionBarDrawerToggle drawer opening behavior and replaced deprecated DrawerLayout.setDrawerListener() with DrawerLayout.addDrawerListener() 2016-11-20 12:10:01 +01:00
Christophe Beyls
12531785f7 Replaced ProgressBars with ContentLoadingProgressBars and re-implemented ListFragment 2016-11-20 11:51:18 +01:00
Christophe Beyls
098403d7e6 Added hack to ensure the sync icon animation will always play properly 2016-11-20 11:02:13 +01:00
Christophe Beyls
dea08a0c94 Downgraded support library down to 23.4.0 because versions 24.0.0 to 25.0.0 leak the Activity through the LoaderManager 2016-11-05 01:41:38 +01:00
Christophe Beyls
bf2d4a05c1 Improved ic_filter_list_selected_white vector drawable 2016-11-03 03:55:09 +01:00
Christophe Beyls
67a6895aca Moved property animation resources to the animator folder 2016-11-03 03:09:38 +01:00
Christophe Beyls
91f1034e10 Optimized the FOSDEM logo vector drawable 2016-11-01 01:45:12 +01:00
Christophe Beyls
df6627ad6a Use AsyncTaskCompat to execute download tasks in parallel 2016-10-31 01:05:56 +01:00
Christophe Beyls
ee94d840f2 Removed workaround for fixed AppCompat bug (links improperly colored) 2016-10-26 16:24:51 +02:00
Christophe Beyls
591851eb50 Added a vector drawable rotation animation when pressing the refresh button 2016-10-26 15:48:18 +02:00
Christophe Beyls
a5f406026c Migrated to AppCompat 24.1.1 and converted most icon resources to vector drawables 2016-10-26 15:44:02 +02:00
Christophe Beyls
31a13a02c2 Fixed rare case when trying to unregister a null observer 2016-10-26 14:52:06 +02:00
Christophe Beyls
49dbe375b7 Use strict shrinkMode with the proper rules to improve resources shrinking 2016-10-26 13:24:02 +02:00
Christophe Beyls
cef24a6282 Deleted unused image 2016-10-26 13:12:10 +02:00
Christophe Beyls
770ace3542 Publish minor update version 1.3.8 2016-10-23 00:45:19 +02:00
Christophe Beyls
3c3412cd84 Inverted the actions of onCreateActionMode() and onPrepareActionMode() to ensure display is properly updated when the adapter dataset changes. 2016-08-29 00:09:36 +02:00
Christophe Beyls
9ebce6034f Turn some private fields to package-local fields to avoid unnecessary indirections through synthetic methods generated for inner classes. 2016-08-27 21:29:05 +02:00
Christophe Beyls
fc82441c9a Use SharedPreferencesCompat.EditorCompat to use apply() when available for better performance. 2016-08-06 01:27:03 +02:00
Christophe Beyls
10bd2a7108 Moved SlidingTabLayout to the main widgets package; merged some of its files 2016-05-31 21:31:20 +02:00
Christophe Beyls
9faca330bf Fixed memory leak in ListFragment's adapter in older Android versions 2016-05-30 23:25:54 +02:00
Christophe Beyls
cb054007da Updated the code to allow fragments in ViewPager to start as soon as they are visible 2016-05-30 23:09:50 +02:00
Christophe Beyls
97156d6061 - Improved SlidingTabLayout to properly handle adapter change and refresh automatically on dataset changed.
- Fixed memory leak caused by keeping the PagerAdapter around after the view hierarchy has been destroyed.
2016-05-30 22:11:45 +02:00
Christophe Beyls
ff140b060c Optimized iteration performance in SlidingTabLayout 2016-05-29 13:25:19 +02:00
Christophe Beyls
e4dfbc67c1 Improved SlidingTabLayout for simpler code and better respect of material design guidelines 2016-05-28 23:14:35 +02:00
Christophe Beyls
e33961eade Moved default values of UnderlinePagerIndicator to a style and removed deprecated methods 2016-05-28 12:58:26 +02:00
Christophe Beyls
e42c30ca90 Disable PNG cruncher since our original PNG files are already smaller 2016-05-24 23:43:19 +02:00
Christophe Beyls
7b1f15a95e Use "resConfigs" to strip unsupported languages + use shrinkResources for smaller apk 2016-05-20 00:16:35 +02:00
Christophe Beyls
7f037faf18 Disable automatic backup 2016-05-16 18:54:42 +02:00
Christophe Beyls
782f45034c Fixed misc lint warnings and replaced deprecated methods 2016-05-07 19:18:09 +02:00
Christophe Beyls
e1ac84d605 Removed HTTPS security hacks where no longer necessary 2016-05-07 17:44:43 +02:00
Christophe Beyls
657be5c2ad Migrate to the latest build tools 2016-05-07 16:51:16 +02:00
Christophe Beyls
756428263d Simplified Parcelable implementation 2016-03-11 01:02:17 +01:00
Christophe Beyls
1e7b3f22e9 Updating version code for next release 2016-01-25 23:53:00 +01:00
Christophe Beyls
ead14cb597 New room map images from the iPhone app. 2016-01-25 23:50:14 +01:00
Christophe Beyls
ae1736a218 Removed place name from directions URL to fix compatibility with OSMAnd.
Fixes #12
2016-01-25 23:02:57 +01:00
Christophe Beyls
71adb08875 Workaround for AppCompat bug incorrectly coloring links on API 21-22 2016-01-06 22:37:05 +01:00
Christophe Beyls
c6fc052584 Updated app version number to 1.3.5 2016-01-06 21:28:33 +01:00
Christophe Beyls
3320f96cd2 Replaced deprecated Resources.getColor() with ContextCompat.getColor() 2016-01-06 21:14:35 +01:00
Christophe Beyls
b6a3f7e1af Highlight date-time in bookmarks list for conflicting schedules
Fixes #4
2016-01-06 21:07:55 +01:00
Christophe Beyls
61f407a6d2 Deleted commented line 2016-01-06 20:36:41 +01:00
Christophe Beyls
b70cd4d0bd Re-indented SQL queries in DatabaseManager
for better readability
2016-01-05 22:17:23 +01:00
Christophe Beyls
1d410fb2b8 Added RTL support 2016-01-04 00:03:19 +01:00
Christophe Beyls
fd8a806236 Enhanced list item layouts and make them RTL-compatible. 2016-01-03 23:16:19 +01:00
Christophe Beyls
d6f1de2aae Ensure the bookmarks ActionMode is closed when the fragment is destroyed. 2016-01-02 22:31:50 +01:00
Christophe Beyls
ca71cc6bd9 Delayed drawer menu actions until the menu is closed. 2016-01-02 21:55:33 +01:00
Christophe Beyls
fe3031fc4c Backwards-compatible material simple_list_item_1 layout 2016-01-02 01:28:44 +01:00
Christophe Beyls
435d1aa078 Replaced FOSDEM title image with a vector drawable 2016-01-02 00:38:21 +01:00
Christophe Beyls
c88e2b144b Various display fixes 2016-01-02 00:29:25 +01:00
Christophe Beyls
3100bce74c Dynamic toolbar elevation in MainActivity
depending on the current section.
2016-01-01 22:45:47 +01:00
Christophe Beyls
040d8a070a New app icon, more material-ish 2016-01-01 22:27:57 +01:00
Christophe Beyls
719e387d91 Added a fix for crashes while zooming in PhotoView inside a DrawerLayout. 2016-01-01 21:43:57 +01:00
Christophe Beyls
06b2c82242 Fixed "DB last updated" date format 2016-01-01 21:18:20 +01:00
Christophe Beyls
14f38d5e6e Updated Navigation Drawer in MainActivity to comply with latest material design guidelines. 2016-01-01 21:16:18 +01:00
Christophe Beyls
24b6364a96 Fixed time formatting to properly use the device's current Locale. 2015-12-27 19:30:43 +01:00
Christophe Beyls
ae7ef84396 Implemented backport version of simple_list_item_2 for Material Design
and removed custom secondary text color on older Android versions
2015-12-27 19:07:44 +01:00
Christophe Beyls
9ffa61f70b Migrate to AppCompat 23.1.1
Removed legacy hacks
Material dialogs on older versions
2015-12-27 01:28:59 +01:00
Christophe Beyls
63bd76f5ed Improved ListView styling by using built-in attribute listChoiceBackgroundIndicator 2015-12-26 17:45:30 +01:00
Christophe Beyls
f31af2f492 Moved all build config values to build.gradle 2015-12-25 16:52:12 +01:00
Christophe Beyls
d5b0b833dd Regression fix: main menu background not properly applied to the entire menu zone. 2015-12-25 16:39:28 +01:00
Christophe Beyls
54f6a6945e Set alarms at the exact time instead of having them batched and delayed on Kitkat and above. 2015-12-25 16:21:08 +01:00
Christophe Beyls
29d923a1cd Updated Floating Action Button style to the official guidelines. 2015-06-26 17:32:03 +02:00
Christophe Beyls
b6cc5513db Replaced the ListView main menu with a ScrollView and an AdapterLinearLayout.
It makes the layout simpler and fixes focus issues in keypad navigation mode.
2015-06-24 16:43:22 +02:00
Christophe Beyls
0c2ddc73e0 Moved launcher icon to mipmap resource folders for better scaling on modern devices. 2015-06-08 18:11:01 +02:00
Christophe Beyls
56fea42162 Workaround to support "If-Modified-Since" conditional HTTP requests on web servers supporting GZIP compression, also enabling GZIP compression support on Android 2.1 and 2.2. 2015-05-30 23:51:29 +02:00
Christophe Beyls
b1d823d245 Misc. small cleanups 2015-04-02 02:29:59 +02:00
Christophe Beyls
90d73831c6 Added Http cache awareness
to skip updating the database when the remote file has not changed.
2015-02-05 23:49:31 +01:00
Christophe Beyls
6f48640a13 Removed restriction to only use Google Maps for directions if installed, allowing to use third-party apps or a browser. 2015-02-05 00:32:43 +01:00
Christophe Beyls
74f1a7e2b3 Added warning message instead of crash when no compatible calendar app is found. 2015-02-04 23:37:51 +01:00
Christophe Beyls
7f8a8aa5cb Improve readability of up navigation code in EventDetailsActivity and add missing flags in the Manifest file for it. 2015-02-04 23:30:13 +01:00
Christophe Beyls
45b162246c Updated campus map to 2015 edition. 2015-02-04 00:32:44 +01:00
Christophe Beyls
1a8e48b46a Update manifest file for next hotfix release. 2015-01-19 23:41:44 +01:00
Christophe Beyls
cef5f95ad1 Move "Settings" and "About" from options menu to main menu footer. 2015-01-19 23:40:55 +01:00
Christophe Beyls
b25326e845 Tweak track_schedule layout in tablet landscape mode to increase card elevation and compensate for the compatibility padding. 2015-01-19 22:57:38 +01:00
Christophe Beyls
89bdf37ee0 Use slightly darker separator line color 2015-01-19 21:00:03 +01:00
Christophe Beyls
27ed59732d Reduced the right margin of dual pane tablet layout to 96dp. 2015-01-19 19:52:37 +01:00
Christophe Beyls
87421b90dd Disable compatibility Floating Action Button selector transition animation to avoid background crossfading issue. 2015-01-19 19:37:26 +01:00
Christophe Beyls
fbf3dfbb30 Added Floating Action Button in dual-pane layout of TrackScheduleActivity 2015-01-19 00:20:24 +01:00
Christophe Beyls
3a66da1ce1 Merge branch 'master' into material 2015-01-18 23:50:51 +01:00
Christophe Beyls
828b43677e Fix: Remove the EventDetailsFragment from the FragmentManager after switching from dual pane to single pane mode to prevent its ActionBar icons from showing up. 2015-01-18 23:50:16 +01:00
Christophe Beyls
3b89b76d7f New dual-pane tablet layout featuring extended height Toolbar and CardView. 2015-01-18 16:06:27 +01:00
Christophe Beyls
b8b8af6304 Fix: properly clear the links container view with the new layout in EventDetailsFragment. 2015-01-18 15:58:57 +01:00
Christophe Beyls
03f3fdb76a Merge branch 'master' into material 2015-01-18 13:42:18 +01:00
Christophe Beyls
7d1e5df598 Added support for direct search from Google Now 2015-01-18 13:41:30 +01:00
Christophe Beyls
d73c5c16cd New styles for headers and metadata in event details. 2015-01-15 00:09:32 +01:00
Christophe Beyls
264012b8e9 Removed unnecessary titles and use the same titles for TrackScheduleActivity and TrackScheduleEventActivity 2015-01-14 00:31:24 +01:00
Christophe Beyls
c9f53109eb - Make tabs in SlidingTabLayout focusable for keyboard input
- Use the Support Library's selectableItemBackground instead of the platform one to allow selectable backgrounds on API<14.
2015-01-14 00:10:13 +01:00
Christophe Beyls
49dd79a187 Added extended title Toolbar for PersonInfoActivity
+ Fixed toolbar elevation value.
2015-01-13 19:40:32 +01:00
Christophe Beyls
d00daadd78 Restored: emulate allCaps for API<14 in SlidingTabLayout 2015-01-11 02:35:53 +01:00
Christophe Beyls
a6007f6710 Make DialogTheme inherit from the new AppCompat dialog theme to simplify styles. 2015-01-11 01:08:59 +01:00
Christophe Beyls
aa34a30050 Fix: main progress now properly uses the Material style on Android 5. 2015-01-10 20:50:50 +01:00
Christophe Beyls
b6657e5754 New sliding tabs implementation for Material Design 2015-01-10 20:43:52 +01:00
Christophe Beyls
490bda0913 Use FOSDEM colors for dialogs and AlertDialogs under Material theme. 2015-01-08 19:51:46 +01:00
Christophe Beyls
454c5f62e1 Set notification color & category
(Lollipop specific)
2015-01-08 03:59:44 +01:00
Christophe Beyls
6461d9c464 Merge branch 'master' into material
Conflicts:
	app/build.gradle
	app/src/main/AndroidManifest.xml
2015-01-08 03:46:28 +01:00
Christophe Beyls
e96bdd6ad2 Updated manifest for hotfix release 1.1.1. 2015-01-08 03:26:58 +01:00
Christophe Beyls
d372480fa8 Added proper small notification icon
respecting the OS guidelines.
2015-01-08 03:16:30 +01:00
Christophe Beyls
70ee342fee Updated main app icon shadow
15px omnidirectional 90% black
2015-01-08 03:08:14 +01:00
Christophe Beyls
572d8bd8d4 List fragments now inherit from SmoothListFragment
for simpler code and more smoothness under Lollipop.
2015-01-07 02:54:01 +01:00
Christophe Beyls
a033f9be57 Use primary color instead of accent color for event details metadata background.
This area will need more tweaks before final release.
2015-01-07 02:49:54 +01:00
Christophe Beyls
c8ecbe1564 Fixed drawable padding in schedule item layout
(now 8dp like in event item layout)
2015-01-07 02:46:35 +01:00
Christophe Beyls
b534efd0ee Fixed UnderlinePageIndicator display.
Put it on top of the content to prevent displaying a thin white line at the bottom of the screen.
2015-01-07 00:41:19 +01:00
Christophe Beyls
043b75ce9d Downgrade to PhotoView 1.2.2 because 1.2.3 crashes when zooming out. 2015-01-07 00:33:25 +01:00
Christophe Beyls
28828062bd First batch of Material Design with complete new themes, styles and ActionBar drawables. 2015-01-06 01:39:50 +01:00
Christophe Beyls
bc689437ac Updated manifest for release 1.1.0 (latest stable release before design upgrade) 2014-12-22 19:34:14 +01:00
Christophe Beyls
6cb1e44c7a Improve SearchView auto close in MainActivity. 2014-12-22 19:31:55 +01:00
Christophe Beyls
36aa7f09da Small improvements following automatic code analysis 2014-12-20 18:01:24 +01:00
Christophe Beyls
e1168c48ce Migrate sources to Java 1.7 compatibility: use switch on Strings and diamond operators for improved readability/performance. 2014-12-20 17:33:19 +01:00
Christophe Beyls
7ec8d3c248 Enforce correct resource types with annotations. 2014-12-16 23:47:11 +01:00
Christophe Beyls
03ce6ac786 Migrated project structure to Android Studio 2014-12-10 22:46:27 +01:00