Commit Graph

54 Commits

Author SHA1 Message Date
Martijn Brekhof 2ed968456a Upgraded butterknife to 8.8.1 (#524)
Refactored MusicListFragment and PVRListFragment to use AbstractTabsFragment
Fixed scrolling in a nested scroll view using espresso
Fixed issue with setting and checking Kodi major version
2018-04-05 18:22:20 +01:00
Martijn Brekhof e2c39e35ba Redesigned playing movies on device running Kore
* Implemented a new widget "fabspeeddial"
   * Provides user with two options to play the media item. One
     option to play the item on Kodi, one to play it on the remote.
   * Replaced deprecated FAB button from
     com.melnykov:floatingactionbutton:1.3.0 with the FAB button from
     the design library
   * Implemented a busy indicator (pulsate) when fab button is clicked
     and JSON  API method is still pending
   * Added a setting to allow the user to disable local playback and
     revert back to the old behaviour
* Refactored AbstractFragmentInfo
   * Replaced RelativeLayout by CoordinatorLayout to support
     hiding/showing the FAB button when scrolling
   * Replaced the tree view observer to fade out art view when scrolling
     with a behavior for the CoordinaterLayout
* Removed empty theme file for v19
* Refactored HostConnection to allow new activities to attach its
  callbacks to any pending ApiMethod. This is required to support device
  configuration changes.
2018-02-09 11:23:52 +00:00
Synced Synapse 6713686604 Bump version for release 2018-01-03 19:56:40 +00:00
Martijn Brekhof b0e6d329f3 Fixed lint errors (#491)
Lint is complaining about the new launcher icons in 'res/mipmap-anydpi-v26'
are not in PNG format. These are now defined in XML and lint is probably
not aware of the new XML format for API v26 and higher.

This also fixes usage of "android:layout_marginEnd". Which is only
supported from API v17.

Added running lintFullRelease to travis-CI build.
2017-12-22 18:20:41 +00:00
Raafat Akkad fa6796475c Add Adaptive Icon For API 26+ (#450)
* Target Sdk Version 26
* Add Adaptive Icon For API 26+
* Update travis to compile against API 26
* Move SVG files to art/launcher/v26/ per CR
* Scale logo to 83%
* Update buildToolsVersion to 26.0.2
* Update travis build-tools to 26.0.2
2017-11-11 15:26:18 +00:00
Tamás Varga 8fb24ee806 unit test IDE execution improvements (#463)
* update README about Run Configuration setting
* update task that needs to depend on assembleFullDebug
** this was needed to run individual local tests
2017-10-01 12:34:45 +01:00
Synced Synapse 324d1e6251 Bump version for release 2017-09-15 17:01:43 +01:00
Synced Synapse a9c8fd7e56 Revert "Implemented a scalable control pad (remote) (#428)"
This reverts commit 3106a5fd61.
2017-09-15 16:08:52 +01:00
Synced Synapse 306609e340 Revert "Removed dependency on GridLayout in SquareGridLayout" (#446)
* Revert "Removed dependency on GridLayout in SquareGridLayout (#445)"
This reverts commit 876db18023.
2017-09-15 16:01:13 +01:00
Synced Synapse 1a979b3d6e Bump version for release 2017-09-08 19:19:13 +01:00
Martijn Brekhof 876db18023 Removed dependency on GridLayout in SquareGridLayout (#445)
* Removed using the GridLayout from the support library
     as this might be causing problems on devices that don't
     include the library correctly.
   * Replaced using the GridLayout measurement and layout implementations
     by our own implementation of a simple grid layout that will evenly distribute
     its children among a square sized grid.
2017-09-08 15:16:45 +01:00
Synced Synapse ee35c21a20 Bump version for release 2017-08-31 19:34:57 +01:00
Martijn Brekhof 3106a5fd61 Implemented a scalable control pad (remote) (#428)
* Refactored RemoteFragment and created a compound view for the
     actual remote. I called it ControlPad to make it more clear what
     its main function is.
   * Implemented a custom grid layout (SquareGridLayout) that will
     always be square. When its width and height are both set to
     match_parent, it will take the smallest of the two as the
     actual size.
   * For devices with a smallest width smaller then 360dp the ControlPad
     is sized to the maximum available space. For larger devices we still
     use the old fixed sizes.
2017-08-30 19:53:47 +01:00
Martijn Brekhof 8cd974137b Upgraded android gradle plugin to 2.3.3 (#431)
* Added dependency on assembleFullDebug before running unit tests.
     Apparently assembleFullDebugUnitTest does not include
     the sourceset for fullDebug as defined in app/build.gradle
2017-08-08 18:44:24 +01:00
Synced Synapse 0d73e278ba Update build tools 2017-07-27 20:22:49 +01:00
Martijn Brekhof cb430aa20d Implemented a slideup panel with media controls and info (#320)
* The slideup panel is only displayed when something is
         playing. It starts collapsed showing the media poster
         and title of what is currently playing.

       * Media controls implemented are volume, progress, shuffle,
         repeat and play/pause for all items. Next and previous are only
         available when a music item is playing.

       * In collapsed mode the panel will display the mute button only
         if Kodi is muted. The mute button in expanded mode is always
         visible.

       * Panel is enabled by default. Users can disable the panel
         in Settings

       * Implemented listening to Player.OnPropertyChanged notifications
         to update shuffle and repeat button states.
2017-07-13 19:10:49 +01:00
Synced Synapse 7186874471 Fix Travis build
Travis only gets the latest 50 git commits, which might not contain a tag that describes the version name, causing the build to fail. This change always returns a version name.
2017-06-26 10:45:15 +01:00
Synced Synapse 13abb4e9ea Bump version for release
Update release notes
2017-02-01 18:53:50 +00:00
Martijn Brekhof 872c329f8d Fixed the return transition for the shared element (#336)
Support library 25.1.0 contains a bug that causes the shared element return transition
to fail.
2017-01-06 11:45:40 +00:00
Mon Zafra 6e347b6b36 Materialized dialogs and preferences (#330)
* Changed platform AlertDialogs and preference.* to support lib counterparts
- added dependencies: support/preference-v7 for PreferenceFragmentCompat
  and Preference subclasses, support/preference-v14 for the
  MultiSelectListPreference
- simplified some AlertDialog.Builder calls and added non-null annotations
  to DialogFragment#onCreateDialog(Bundle) overrides to shut the IDE up
- UIUtils: changed static member avatarColorsIdx to local var because it's
  only used in one place and the value isn't cached
- layout/dialog_send_text: removed view vertical margins as they take
  way too much space for nothing.
- strings: shortened english preference titles
- themes: added PrefTheme and changed preference title font size to medium
  from large
- preferences: changed CheckBoxPreference to SwitchPreferenceCompat. these
  don't have the same issue described in #233 (tested in kitkat).

* Changed platform PreferenceManager in RemoteActivity to support pref

* Fixed M permissions

* Split prefs into 2 groups as per material design guidelines

* Changed prefs theme to v14.material

* Moved container padding to individual prefs; removed pref-v7 dependency
- this makes the item dividers touch the screen edges which i think looks
  better
- don't need to require preference-v7 because preference-v14 already
  does

* Moved PrefTheme attributes *{Start,End} to v17 override

* Fixed crash caused by rotating twice while a dialog is active

* Changed wording as suggested
2017-01-04 08:37:13 +00:00
Martijn Brekhof 3742263ec7 Fixed issue with sharing code between local and instrumentation tests (#335) 2017-01-03 16:14:22 +00:00
Synced Synapse c966e52ee4 Update android SDK/build toos/support library version 2016-12-23 08:50:34 +00:00
Synced Synapse a545bf03ef Update jmdns library. 2016-12-19 19:41:30 +00:00
Synced Synapse 6245a9c7d5 Use ExpandableTextView on Text views that expand on clicking them 2016-12-19 19:25:24 +00:00
Martijn Brekhof bbda7df4aa Refactored integration tests to use robolectric (#302)
* Updated travis build to include running local tests for each PR
* Removed unused methods from Utils.java
* Moved all resources required by both local and instrumentation tests
  to testUtils
* Added proguard rules for the test builds to prevent proguard from discarding
  the junit classes
2016-11-08 11:43:10 +00:00
Synced Synapse 333268b0b1 Update build tools version 2016-09-16 19:12:36 +01:00
Synced Synapse 1c025cfc82 Bump version for release
Upgrade gradle version
2016-07-09 16:18:02 +01:00
Martijn Brekhof acb87a7543 Fixed printing false message during gradle configuration phase 2016-06-20 14:44:23 +02:00
Synced Synapse 7819fb9f15 Fix gradle script to include default product flavor 2016-06-17 19:09:23 +01:00
Martijn Brekhof 6f60442e7b Implemented integration tests to test restoring search query
* Added perl tools to generate json files for music and movie data
* Upgraded build tools version, sdk compile version, and support libraries
  as this is required by the test packages.
* Added new product flavor instrumentationTest to make sure assets and settings
  required for testing do not also ship with a release version of Kore
2016-06-16 11:04:25 +02:00
Synced Synapse 6dcf412140 Update android sdk to v23
Deal with Android 6 permission system
Update gradle version
2016-05-25 17:18:25 +01:00
Synced Synapse b99a0fbd6e Update version for release 2015-12-16 19:52:10 +00:00
Daniel Levin ca5023bae7 Define the versionName shown in settings from git
Remove extra prepended "v" from version string
2015-12-15 21:12:21 +01:00
Synced Synapse dab9bc055e Bump version for release 2015-07-30 23:55:01 +01:00
Synced Synapse 4a2d699e62 Update versions of targetSDK and Support library
Fix issue with ActionBar not showing hamburger menu with Support library v22
2015-06-23 19:08:45 +01:00
Synced Synapse 5038720661 Reverting versions of target SDK and support version. Newer versions mess up with the side menu. 2015-06-22 23:16:54 +01:00
Synced Synapse ca119fd21c Update versions of build tools, support library, gradle and target API 2015-06-22 23:00:06 +01:00
Synced Synapse 2e5a27400a Bump version for release 2015-04-23 19:53:08 +01:00
Synced Synapse 7d19a43b61 Update library versions: jackson, butterknife, eventbus and floatingactionbutton 2015-04-18 11:42:11 +01:00
Synced Synapse 1fc9eb3301 Switched HTTP library. Using OkHttp explicitly now, instead of the default Android one, which varies acroos OS versions.
OkHttp is also used as the backend for loading images (Picasso).
Added disk cache to image loading.
2015-04-18 10:52:31 +01:00
Synced Synapse c0073d5f29 Bump version for release 2015-04-02 23:11:20 +01:00
Synced Synapse 194a531234 Bump version for release 2015-03-16 10:12:53 +00:00
Synced Synapse 7f54fb2943 Bump version 2015-03-15 12:48:38 +00:00
Synced Synapse 551583aa9d Fix some build warnings. 2015-03-09 22:05:58 +00:00
Synced Synapse ed584fb9b7 Changed namespace/appid to org.xbmc.kore 2015-03-09 21:35:18 +00:00
Synced Synapse d4bb313429 Remove in-app purchase 2015-03-08 22:34:14 +00:00
Synced Synapse 4d7a945c53 Remove the need of creating extra files to build 2015-03-04 19:01:58 +00:00
Synced Synapse 990f963d4c Bump version 2015-02-17 11:25:08 +00:00
Synced Synapse 1afcd1e375 Bump version to build a new release version that fixes a bug with in-app purchase key that was crashing Settings screen 2015-02-04 11:31:44 +00:00
Synced Synapse 4c98abfaac Bump version to 1.0.0 2015-02-01 18:25:59 +00:00