Commit Graph

69 Commits

Author SHA1 Message Date
Martijn Brekhof 134ec550e8 Implemented MediaProgressIndicator widget to allow for code sharing (#405)
* Refactored NowPlayingFragment to use the new MediaProgressIndicator
2017-06-20 19:05:27 +01:00
mueller-ma 6b690f5882 Change position of play/pause and stop button (#396)
fixes #393

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2017-06-07 19:48:49 +01:00
tomerf b80e3e0e7a Make remote bottom bar configurable (#355)
* Make remote bottom bar configurable
* Added new translations
* Added icons
* Moved preference to remote section
2017-03-06 19:58:31 +00:00
Martijn Brekhof 412931b8db Refactored AbstractDetailsFragment
This introduces the MVC model to details fragments. It moves as much
view and control code out of the concrete fragments into the abstract
classes.

   * Added UML class and sequence diagrams under doc/diagrams to clarify
     the new setup

   * Introduces new abstract classes
      * AbstractFragment class to hold the DataHolder
      * AbstractInfoFragment class to display media information
      * AbstractAddtionalInfoFragment class to allow *InfoFragments
        to add additional UI elements and propagate refresh requests.
        See for an example TVShowInfoFragment which adds
        TVShowProgressFragment to display next episodes and season
        progression.

   * Introduces new RefreshItem class to encapsulate all refresh
     functionality from AbstractDetailsFragment

   * Introduces new SharedElementTransition utility class to encapsulate
     all shared element transition code

   * Introduces new CastFragment class to encapsulate all code for
     displaying casts reducing code duplication

   * Introduces DataHolder class to replace passing the ViewHolder from
     the *ListFragment to the *DetailsFragment or *InfoFragment

   * Refactored AbstractDetailsFragment into two classes:

     o AbstractDetailsFragment: for fragments requiring a tab bar
     o AbstractInfoFragment:    for fragments showing media information

     We used to use <NAME>DetailsFragments for both fragments that show
     generic
     info about some media item and fragments that hold all details for
     some media item.
     For example, artist details showed artist info and used tabs to
     show artist albums and songs as well. Now Details fragments are
     used to show all details, Info fragments only show media item
     information like description, title, rating, etc.

   * Moved swiperefreshlayout code from AbstractCursorListFragment to
     AbstractListFragment
2017-03-02 11:55:19 +01: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
Synced Synapse 331866043a Fix issues with svg drawables 2016-12-29 18:59:36 +00:00
Martijn Brekhof 640473a8ee Fixed NavigationDrawerFragment location in activity_generic_media layout 2016-12-29 18:27:40 +00:00
Martijn Brekhof b8fbf4e190 Refactored org.xbmc.kore.ui package into separate packages 2016-12-29 18:27:40 +00:00
Synced Synapse 6245a9c7d5 Use ExpandableTextView on Text views that expand on clicking them 2016-12-19 19:25:24 +00:00
Synced Synapse 661908c922 Add next episodes section to tv show details screen 2016-12-16 19:24:28 +00:00
Synced Synapse 3152ee540b Add progress bar to seasons list 2016-12-16 19:24:28 +00:00
Synced Synapse 43371b9480 Redesign tv shows details, to not use tabs or expandable lists in episodes list
First version, to be improved visually
2016-12-15 20:10:55 +00:00
Martijn Brekhof c5848ce648 Implemented showing volume level on NowPlayingFragment (#312)
Replaced up/down volume buttons with a seekbar that displays the current
volume level and can be used to change the volume level
2016-11-30 12:20:21 +00:00
Martijn Brekhof 77795d099a Added and updated remote sizes (#308)
This should improve support for different screen resolutions.
2016-11-08 19:53:26 +00:00
Martijn Brekhof eedd1e99b4 Implemented showing artist names in song lists (#281)
* Song lists for artist, album, and overall now shows the artist name for each individual song
* Added display artist column to songs table. This required a DB upgrade and users should
  do a refresh for music items to be able to see the display artist in the song lists.
2016-10-20 19:26:43 +01:00
Saket a4f5316c93 Fixed Toolbar height small for sdk version < Android Llollipop (#268) 2016-07-07 16:49:22 +01:00
Synced Synapse 4572775a51 Improve file list UI 2016-06-16 19:40:36 +01:00
Synced Synapse 82fa6ae56c Improve title layout on lists 2016-05-25 19:19:06 +01:00
Synced Synapse ae8396909f Fix some lint errors 2016-05-25 19:03:50 +01:00
Synced Synapse f6070c78c0 Change bookmark addon icon 2016-05-10 20:19:23 +01:00
Synced Synapse de8e28b768 Merge pull request #239 from eisnerd/plugin-content-browser
Plugin/addon content browser
2016-05-10 13:15:09 +01:00
Martijn Brekhof e194ce8b2c Implemented SongsListFragment
The SongsListFragment lists all available songs for a connected host or
for a specific artist.
Added the songs tab to the music screen and to the artist details
screen.
2016-05-09 21:12:08 +02:00
David Eisner ba7931c5ea
Only attempt to browse and pin pluginsource type plugins
Using AddonOverviewFragment in both cases would probably be an easier to
follow code path, but this implementation switches between using
AddonDetailsFragment directly and adding it via AddonOverviewFragment.
2016-05-06 20:28:57 +01:00
David Eisner 51680a835c
Pin an addon as an addons activity tab 2016-05-04 10:06:18 +01:00
Martijn Brekhof f0f21d118a Implemented showing artist details
When user selects artist from ArtistListFragment it will now
show a screen displaying artist details. I've taken the TV show
details setup as an example.

This adds the following new functionality:

* Displaying artist fanart
* Displaying artist description
* Download all songs from an artist
2016-02-07 21:40:53 +01:00
Martijn Brekhof 73dd123fb3 Added context menu to TV episode list items
The context menu adds play and queue functionality for tv show
episode items in the tv show episode list.
2016-02-03 08:15:49 +01:00
Martijn Brekhof d5ba611782 Implemented changing the position of items in the current playlist
This enables users to reorder the current playlist by long pressing a
list item and drag it to a different list position.
2016-01-19 12:02:08 +01:00
Synced Synapse 25f491a7dc Adjust about fragment 2015-12-16 19:51:14 +00:00
Synced Synapse e41e13da6f Fix starttime color in EPG 2015-12-16 19:11:25 +00:00
Martijn Brekhof 9e3a49126d Implemented shared element transitions for music videos 2015-12-14 09:30:20 +01:00
Synced Synapse 32171ebfba Improve PVR Guide 2015-12-13 16:01:50 +00:00
Synced Synapse 5ccd76b349 Added first version of PVR EPG 2015-12-10 20:20:10 +00:00
Martijn Brekhof ffa96521f6 Implemented shared element transitions for albums
I removed using the poster as fanart if no fanart is available.
The reason is that the shared element transition is not very smooth
when the aspect ratio of the two image states is not the same.
Going from AlbumListFragment to AlbumDetailsFragment the poster
is resized correctly to the fanart size. However, returning to the
AlbumListFragment from the AlbumDetailsFragment the poster is
abruptly resized to the square aspect ratio needed for the list
fragment.
2015-12-04 21:02:45 +01:00
Synced Synapse 7991d64581 Add recording to channels list 2015-11-29 14:59:32 +00:00
Synced Synapse fa43d43066 Refactor layout used on fragments with ViewPagers 2015-11-26 19:28:25 +00:00
Synced Synapse abd1b2fc67 Merge pull request #138 from poisdeux/sharedelementtransitions
Implemented shared element transition for movie posters
2015-11-25 22:33:07 +00:00
Synced Synapse 610fa85671 Added PVR recordings list 2015-11-24 22:55:56 +00:00
Martijn Brekhof a871b15308 Fixed download button popping up after animation finishes 2015-11-23 15:48:32 +01:00
Synced Synapse e6f6d74784 Add more helpful message when an error occurs in channels list 2015-11-10 23:18:33 +00:00
Synced Synapse cc3ecdd5f5 Add support for PVR - first version. 2015-11-09 23:40:48 +00:00
Martijn Brekhof 8a41406f01 Removed useless layout alignment attributes which were left over from a copy/paste procedure 2015-08-09 14:28:50 +02:00
Martijn Brekhof 1e0ef706e2 Fixed issue with context menu button being drawn on top of album title
Long album titles are ellipsed but TextView width was set to match parent's
width. This caused the TextView to take up all available width instead leaving
some for the context menu. Fix this by explicitly telling the TextViews to
be placed left of the context menu image.
2015-08-09 14:20:53 +02:00
Martijn Brekhof a7874de0e4 Added playing or queueing artist/album/genre from music screen
Implemented context menus in GridView items in AlbumListFragment,
ArtistListFragment and AudioGenreListFragment.
This allows the user to add everything from an artist, album, or
genre by popping up the context menu and selecting either play
or Add to playlist.

Created a new class utils/MediaManager to hold any methods related
to managing media. Added methods play(...) and queueAudio(...) to
add musiclist items to the current playlist and start playing.
2015-07-31 13:38:29 +02:00
Synced Synapse c9e643fc2c Fix fragment transactions on host wizard: previous fragments weren't being properly removed with the call to replace() on the FragmentTransaction, because the container used was the global one. Somehow this stopped working with recent versions 2015-07-30 23:24:44 +01:00
Synced Synapse 32c937fb51 Fix runtime warning concerning app:theme 2015-07-30 20:02:26 +01:00
Synced Synapse 00c6e3d300 Change the "see all cast" button to be the last image on the cast grid view 2015-07-30 19:27:58 +01:00
Synced Synapse a07a819898 Add support to see all cast on now playing screen 2015-07-29 18:37:28 +01:00
Synced Synapse d48b95d86e Tweak cast list margins 2015-07-28 22:58:00 +01:00
Synced Synapse cbed4d919a Add new activity to show all cast for movies and tv shows 2015-07-28 19:27:17 +01:00
Synced Synapse 0e90b731dc Highlight current selected item on playlist 2015-06-23 18:43:57 +01:00