diff --git a/app/build.gradle b/app/build.gradle
index 5763af10c..df07b177e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -145,7 +145,7 @@ dependencies {
implementation 'androidx.media:media:1.1.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'androidx.viewpager2:viewpager2:1.0.0'
+ implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
implementation "androidx.work:work-runtime:$workManagerVersion"
implementation 'com.google.android.material:material:1.1.0'
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/java/de/danoeh/antennapod/fragment/AudioPlayerFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AudioPlayerFragment.java
index 7df0f5577..5ca8b666a 100644
--- a/app/src/main/java/de/danoeh/antennapod/fragment/AudioPlayerFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/fragment/AudioPlayerFragment.java
@@ -143,7 +143,7 @@ public class AudioPlayerFragment extends Fragment implements
pageIndicator = root.findViewById(R.id.page_indicator);
pageIndicator.setViewPager(pager);
pageIndicator.setOnClickListener(v ->
- pager.setCurrentItem((pager.getCurrentItem() + 1) % pager.getChildCount()));
+ pager.setCurrentItem((pager.getCurrentItem() + 1) % NUM_CONTENT_FRAGMENTS));
return root;
}
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">
-
+ android:textColor="?attr/colorSecondary"
+ android:contentDescription="@string/decrease_volume"
+ android:background="?attr/selectableItemBackgroundBorderless"/>
-
diff --git a/app/src/main/res/layout/download_authentication_activity.xml b/app/src/main/res/layout/download_authentication_activity.xml
index 58c2c10e6..e16a8b3a8 100644
--- a/app/src/main/res/layout/download_authentication_activity.xml
+++ b/app/src/main/res/layout/download_authentication_activity.xml
@@ -50,21 +50,15 @@
android:id="@+id/butCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="?android:attr/selectableItemBackground"
- android:textColor="?attr/colorAccent"
- android:paddingLeft="8dp"
- android:paddingRight="8dp"
- android:text="@string/cancel_label"/>
+ android:text="@string/cancel_label"
+ style="@style/Widget.MaterialComponents.Button.TextButton"/>
+ android:text="@string/confirm_label"
+ style="@style/Widget.MaterialComponents.Button.TextButton"/>
\ No newline at end of file
diff --git a/app/src/main/res/layout/opml_selection.xml b/app/src/main/res/layout/opml_selection.xml
index e018ffde3..1f1d72d76 100644
--- a/app/src/main/res/layout/opml_selection.xml
+++ b/app/src/main/res/layout/opml_selection.xml
@@ -1,67 +1,39 @@
-
+
-
-
-
-
-
-
-
-
-
-
+ style="@style/Widget.MaterialComponents.Button.TextButton"
+ android:layout_margin="8dp"
+ android:text="@string/confirm_label"/>
+
+
+ android:id="@+id/feedlist"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_above="@id/butConfirm"
+ android:layout_alignParentTop="true"
+ tools:listitem="@android:layout/simple_list_item_multiple_choice">
-
\ No newline at end of file
+
diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml
index db49538bf..0168aec38 100644
--- a/core/src/main/res/values/strings.xml
+++ b/core/src/main/res/values/strings.xml
@@ -672,6 +672,8 @@
Rewind
Fast forward
+ Increase volume
+ Decrease volume
Audio
Video
Navigate upwards