diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-30 18:47:15 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-30 19:21:54 -0400 |
commit | 000163ad219b7ebb84b23dcd96e13868a2c919a7 (patch) | |
tree | fc5ca80b2fec0a7fade2633adbc8f5b3400723a5 /core/src | |
parent | a806d58966bca19cb89ca0b2b2d287f2611c3e36 (diff) | |
download | AntennaPod-000163ad219b7ebb84b23dcd96e13868a2c919a7.zip |
fix horizontal layout (MediaRouteControllerDialog)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 1 | ||||
-rw-r--r-- | core/src/main/res/values-land/dimens.xml | 4 | ||||
-rw-r--r-- | core/src/main/res/values/dimens.xml | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 10386a423..62321a91e 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -1024,6 +1024,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { } } if (!Thread.currentThread().isInterrupted() && started) { + //TODO mediaSession.setSessionActivity(); mediaSession.setMetadata(builder.build()); } }; diff --git a/core/src/main/res/values-land/dimens.xml b/core/src/main/res/values-land/dimens.xml new file mode 100644 index 000000000..73b2b2e98 --- /dev/null +++ b/core/src/main/res/values-land/dimens.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <dimen name="media_router_controller_playback_control_start_padding">@dimen/media_router_controller_playback_control_horizontal_spacing</dimen> +</resources> diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml index 4f549efd7..01dce6a1c 100644 --- a/core/src/main/res/values/dimens.xml +++ b/core/src/main/res/values/dimens.xml @@ -36,4 +36,9 @@ <dimen name="audioplayer_playercontrols_length">48dp</dimen> + <dimen name="media_router_controller_playback_control_vertical_padding">16dp</dimen> + <dimen name="media_router_controller_playback_control_horizontal_spacing">12dp</dimen> + <dimen name="media_router_controller_playback_control_start_padding">24dp</dimen> + <dimen name="media_router_controller_bottom_margin">8dp</dimen> + </resources> |