From 421f75ca8ac3cabfe17fff89aaebc8851087dd04 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 10 May 2020 16:19:48 +0200 Subject: [PATCH] Fixed blue buttons with blue text --- .../dialog/PlaybackControlsDialog.java | 4 ++-- app/src/main/res/layout/audio_controls.xml | 20 ++++++++++++------- .../download_authentication_activity.xml | 14 ++++--------- core/src/main/res/values/strings.xml | 2 ++ 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/PlaybackControlsDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/PlaybackControlsDialog.java index 83debaecb..d1ffdc148 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/PlaybackControlsDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/PlaybackControlsDialog.java @@ -80,7 +80,7 @@ public class PlaybackControlsDialog extends DialogFragment { private void setupUi() { final SeekBar barPlaybackSpeed = dialog.findViewById(R.id.playback_speed); - final Button butDecSpeed = dialog.findViewById(R.id.butDecSpeed); + final TextView butDecSpeed = dialog.findViewById(R.id.butDecSpeed); butDecSpeed.setOnClickListener(v -> { if (controller != null && controller.canSetPlaybackSpeed()) { barPlaybackSpeed.setProgress(barPlaybackSpeed.getProgress() - 2); @@ -88,7 +88,7 @@ public class PlaybackControlsDialog extends DialogFragment { VariableSpeedDialog.showGetPluginDialog(getContext()); } }); - final Button butIncSpeed = (Button) dialog.findViewById(R.id.butIncSpeed); + final TextView butIncSpeed = dialog.findViewById(R.id.butIncSpeed); butIncSpeed.setOnClickListener(v -> { if (controller != null && controller.canSetPlaybackSpeed()) { barPlaybackSpeed.setProgress(barPlaybackSpeed.getProgress() + 2); diff --git a/app/src/main/res/layout/audio_controls.xml b/app/src/main/res/layout/audio_controls.xml index 6cb87282f..9a1c525a7 100644 --- a/app/src/main/res/layout/audio_controls.xml +++ b/app/src/main/res/layout/audio_controls.xml @@ -41,18 +41,22 @@ + android:orientation="horizontal" + android:gravity="center_vertical"> -