diff --git a/app/build.gradle b/app/build.gradle
index dfc7f73..e3fa980 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -31,7 +31,7 @@ android {
dependencies {
implementation 'com.esotericsoftware:kryo:4.0.2'
- implementation "com.android.support:design:$android_support_version"
+ implementation 'com.google.android.material:material:1.0.0'
implementation 'com.github.hannesa2:AndroidSlidingUpPanel:3.5.0'
implementation 'com.squareup.okhttp3:okhttp:4.1.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -39,7 +39,6 @@ dependencies {
buildscript {
ext.kotlin_version = '1.3.50'
- ext.android_support_version = '28.0.0'
repositories {
mavenCentral()
}
diff --git a/app/src/main/java/net/nullsum/audinaut/activity/EditPlayActionActivity.java b/app/src/main/java/net/nullsum/audinaut/activity/EditPlayActionActivity.java
index aafef1b..2ce6c01 100644
--- a/app/src/main/java/net/nullsum/audinaut/activity/EditPlayActionActivity.java
+++ b/app/src/main/java/net/nullsum/audinaut/activity/EditPlayActionActivity.java
@@ -18,8 +18,8 @@ package net.nullsum.audinaut.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
-import android.support.v4.widget.DrawerLayout;
-import android.support.v7.app.AlertDialog;
+import androidx.drawerlayout.widget.DrawerLayout;
+import androidx.appcompat.app.AlertDialog;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
diff --git a/app/src/main/java/net/nullsum/audinaut/activity/SettingsActivity.java b/app/src/main/java/net/nullsum/audinaut/activity/SettingsActivity.java
index 8b0bc1b..aacf8d8 100644
--- a/app/src/main/java/net/nullsum/audinaut/activity/SettingsActivity.java
+++ b/app/src/main/java/net/nullsum/audinaut/activity/SettingsActivity.java
@@ -19,7 +19,7 @@
package net.nullsum.audinaut.activity;
import android.os.Bundle;
-import android.support.v7.widget.Toolbar;
+import androidx.appcompat.widget.Toolbar;
import net.nullsum.audinaut.R;
import net.nullsum.audinaut.fragments.PreferenceCompatFragment;
diff --git a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicActivity.java b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicActivity.java
index 31a1163..be6cf82 100644
--- a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicActivity.java
+++ b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicActivity.java
@@ -27,16 +27,16 @@ import android.media.AudioManager;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
-import android.support.design.widget.NavigationView;
-import android.support.v4.app.ActivityCompat;
-import android.support.v4.app.FragmentManager;
-import android.support.v4.app.FragmentTransaction;
-import android.support.v4.content.ContextCompat;
-import android.support.v4.widget.DrawerLayout;
-import android.support.v7.app.ActionBarDrawerToggle;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.app.AppCompatDelegate;
-import android.support.v7.widget.Toolbar;
+import com.google.android.material.navigation.NavigationView;
+import androidx.core.app.ActivityCompat;
+import androidx.fragment.app.FragmentManager;
+import androidx.fragment.app.FragmentTransaction;
+import androidx.core.content.ContextCompat;
+import androidx.drawerlayout.widget.DrawerLayout;
+import androidx.appcompat.app.ActionBarDrawerToggle;
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatDelegate;
+import androidx.appcompat.widget.Toolbar;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
diff --git a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java
index e9adb94..5c21f26 100644
--- a/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java
+++ b/app/src/main/java/net/nullsum/audinaut/activity/SubsonicFragmentActivity.java
@@ -27,9 +27,9 @@ import android.content.SharedPreferences;
import android.content.res.TypedArray;
import android.os.Bundle;
import android.preference.PreferenceManager;
-import android.support.v4.app.FragmentManager;
-import android.support.v4.app.FragmentTransaction;
-import android.support.v7.widget.Toolbar;
+import androidx.fragment.app.FragmentManager;
+import androidx.fragment.app.FragmentTransaction;
+import androidx.appcompat.widget.Toolbar;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageButton;
diff --git a/app/src/main/java/net/nullsum/audinaut/adapter/ArtistAdapter.java b/app/src/main/java/net/nullsum/audinaut/adapter/ArtistAdapter.java
index 9f16cd9..0adabad 100644
--- a/app/src/main/java/net/nullsum/audinaut/adapter/ArtistAdapter.java
+++ b/app/src/main/java/net/nullsum/audinaut/adapter/ArtistAdapter.java
@@ -16,7 +16,7 @@
package net.nullsum.audinaut.adapter;
import android.content.Context;
-import android.support.v7.widget.PopupMenu;
+import androidx.appcompat.widget.PopupMenu;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java b/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java
index 98f4432..25f5753 100644
--- a/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java
+++ b/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java
@@ -19,8 +19,8 @@ import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.os.Build;
-import android.support.v7.view.ActionMode;
-import android.support.v7.widget.RecyclerView;
+import androidx.appcompat.view.ActionMode;
+import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.util.TypedValue;
import android.view.Menu;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/DownloadFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/DownloadFragment.java
index 39ba840..62538b7 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/DownloadFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/DownloadFragment.java
@@ -17,7 +17,7 @@ package net.nullsum.audinaut.fragments;
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.widget.helper.ItemTouchHelper;
+import androidx.recyclerview.widget.ItemTouchHelper;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/NowPlayingFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/NowPlayingFragment.java
index fe8eb7b..fa6c18d 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/NowPlayingFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/NowPlayingFragment.java
@@ -18,9 +18,9 @@ import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.helper.ItemTouchHelper;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.recyclerview.widget.ItemTouchHelper;
import android.util.DisplayMetrics;
import android.view.GestureDetector;
import android.view.GestureDetector.OnGestureListener;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java
index f6e37b2..38cf0b3 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java
@@ -1,8 +1,8 @@
package net.nullsum.audinaut.fragments;
import android.os.Bundle;
-import android.support.v7.widget.GridLayoutManager;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.GridLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SelectDirectoryFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SelectDirectoryFragment.java
index dcc3eb6..d70e715 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/SelectDirectoryFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/SelectDirectoryFragment.java
@@ -1,9 +1,9 @@
package net.nullsum.audinaut.fragments;
import android.os.Bundle;
-import android.support.v7.widget.GridLayoutManager;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.GridLayoutManager;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SelectPlaylistFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SelectPlaylistFragment.java
index 00d3e4e..2cdf29a 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/SelectPlaylistFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/SelectPlaylistFragment.java
@@ -1,7 +1,7 @@
package net.nullsum.audinaut.fragments;
import android.os.Bundle;
-import android.support.v7.app.AlertDialog;
+import androidx.appcompat.app.AlertDialog;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SelectRecyclerFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SelectRecyclerFragment.java
index 6c4b91e..6ea3b43 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/SelectRecyclerFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/SelectRecyclerFragment.java
@@ -16,8 +16,8 @@
package net.nullsum.audinaut.fragments;
import android.os.Bundle;
-import android.support.v7.widget.GridLayoutManager;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.GridLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SubsonicFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SubsonicFragment.java
index 680e1de..4d99933 100644
--- a/app/src/main/java/net/nullsum/audinaut/fragments/SubsonicFragment.java
+++ b/app/src/main/java/net/nullsum/audinaut/fragments/SubsonicFragment.java
@@ -26,13 +26,13 @@ import android.content.SharedPreferences;
import android.media.MediaMetadataRetriever;
import android.os.Bundle;
import android.os.StatFs;
-import android.support.v4.app.Fragment;
-import android.support.v4.widget.SwipeRefreshLayout;
-import android.support.v7.app.AlertDialog;
-import android.support.v7.widget.GridLayoutManager;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.SearchView;
+import androidx.fragment.app.Fragment;
+import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
+import androidx.appcompat.app.AlertDialog;
+import androidx.recyclerview.widget.GridLayoutManager;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.appcompat.widget.SearchView;
import android.util.Log;
import android.view.GestureDetector;
import android.view.Menu;
diff --git a/app/src/main/java/net/nullsum/audinaut/service/DownloadService.java b/app/src/main/java/net/nullsum/audinaut/service/DownloadService.java
index 70a824f..c3a14e6 100644
--- a/app/src/main/java/net/nullsum/audinaut/service/DownloadService.java
+++ b/app/src/main/java/net/nullsum/audinaut/service/DownloadService.java
@@ -32,7 +32,7 @@ import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
import android.os.PowerManager;
-import android.support.v4.util.LruCache;
+import androidx.collection.LruCache;
import android.util.Log;
import net.nullsum.audinaut.R;
@@ -60,7 +60,6 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.List;
-import static net.nullsum.audinaut.domain.PlayerState.COMPLETED;
import static net.nullsum.audinaut.domain.PlayerState.DOWNLOADING;
import static net.nullsum.audinaut.domain.PlayerState.IDLE;
import static net.nullsum.audinaut.domain.PlayerState.PAUSED;
diff --git a/app/src/main/java/net/nullsum/audinaut/service/RESTMusicService.java b/app/src/main/java/net/nullsum/audinaut/service/RESTMusicService.java
index 4b5e0d1..7e8ac4d 100644
--- a/app/src/main/java/net/nullsum/audinaut/service/RESTMusicService.java
+++ b/app/src/main/java/net/nullsum/audinaut/service/RESTMusicService.java
@@ -21,7 +21,7 @@ package net.nullsum.audinaut.service;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
-import android.support.annotation.Nullable;
+import androidx.annotation.Nullable;
import android.util.Log;
import net.nullsum.audinaut.domain.Genre;
@@ -60,11 +60,8 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
-import okhttp3.FormBody;
-import okhttp3.FormBody.Builder;
import okhttp3.OkHttpClient;
import okhttp3.Request;
-import okhttp3.RequestBody;
import okhttp3.Response;
/**
diff --git a/app/src/main/java/net/nullsum/audinaut/util/DownloadFileItemHelperCallback.java b/app/src/main/java/net/nullsum/audinaut/util/DownloadFileItemHelperCallback.java
index 3bca028..eb94333 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/DownloadFileItemHelperCallback.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/DownloadFileItemHelperCallback.java
@@ -1,7 +1,7 @@
package net.nullsum.audinaut.util;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.helper.ItemTouchHelper;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.recyclerview.widget.ItemTouchHelper;
import net.nullsum.audinaut.adapter.SectionAdapter;
import net.nullsum.audinaut.fragments.SubsonicFragment;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/DrawableTint.java b/app/src/main/java/net/nullsum/audinaut/util/DrawableTint.java
index a539b94..a4f2dfb 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/DrawableTint.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/DrawableTint.java
@@ -20,8 +20,8 @@ import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
-import android.support.annotation.AttrRes;
-import android.support.annotation.DrawableRes;
+import androidx.annotation.AttrRes;
+import androidx.annotation.DrawableRes;
import android.util.SparseArray;
import android.util.TypedValue;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/FileUtil.java b/app/src/main/java/net/nullsum/audinaut/util/FileUtil.java
index be88fb2..a0fe359 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/FileUtil.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/FileUtil.java
@@ -23,7 +23,7 @@ import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Build;
import android.os.Environment;
-import android.support.v4.content.ContextCompat;
+import androidx.core.content.ContextCompat;
import android.util.Log;
import com.esotericsoftware.kryo.Kryo;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/ImageLoader.java b/app/src/main/java/net/nullsum/audinaut/util/ImageLoader.java
index 19f7fcf..ad7ef65 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/ImageLoader.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/ImageLoader.java
@@ -30,7 +30,7 @@ import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
import android.os.Handler;
import android.os.Looper;
-import android.support.v4.util.LruCache;
+import androidx.collection.LruCache;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.View;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/Notifications.java b/app/src/main/java/net/nullsum/audinaut/util/Notifications.java
index ce3c721..fdf5fc6 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/Notifications.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/Notifications.java
@@ -25,7 +25,7 @@ import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Handler;
-import android.support.v4.app.NotificationCompat;
+import androidx.core.app.NotificationCompat;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/UserUtil.java b/app/src/main/java/net/nullsum/audinaut/util/UserUtil.java
index 814c652..385806a 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/UserUtil.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/UserUtil.java
@@ -17,7 +17,7 @@ package net.nullsum.audinaut.util;
import android.content.Context;
import android.content.SharedPreferences;
-import android.support.v7.app.AppCompatActivity;
+import androidx.appcompat.app.AppCompatActivity;
import android.util.Log;
import net.nullsum.audinaut.domain.User;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/Util.java b/app/src/main/java/net/nullsum/audinaut/util/Util.java
index b464401..57481cf 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/Util.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/Util.java
@@ -36,9 +36,9 @@ import android.net.NetworkInfo;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.os.Environment;
-import android.support.annotation.Nullable;
-import android.support.annotation.StringRes;
-import android.support.v7.app.AlertDialog;
+import androidx.annotation.Nullable;
+import androidx.annotation.StringRes;
+import androidx.appcompat.app.AlertDialog;
import android.text.SpannableString;
import android.text.method.LinkMovementMethod;
import android.text.util.Linkify;
diff --git a/app/src/main/java/net/nullsum/audinaut/util/tags/BastpUtil.java b/app/src/main/java/net/nullsum/audinaut/util/tags/BastpUtil.java
index 8ce28c3..19541d3 100644
--- a/app/src/main/java/net/nullsum/audinaut/util/tags/BastpUtil.java
+++ b/app/src/main/java/net/nullsum/audinaut/util/tags/BastpUtil.java
@@ -17,7 +17,7 @@
package net.nullsum.audinaut.util.tags;
-import android.support.v4.util.LruCache;
+import androidx.collection.LruCache;
import java.util.HashMap;
import java.util.Vector;
diff --git a/app/src/main/java/net/nullsum/audinaut/view/AutoRepeatButton.java b/app/src/main/java/net/nullsum/audinaut/view/AutoRepeatButton.java
index 52c55ad..bdc83b3 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/AutoRepeatButton.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/AutoRepeatButton.java
@@ -1,7 +1,7 @@
package net.nullsum.audinaut.view;
import android.content.Context;
-import android.support.v7.widget.AppCompatImageButton;
+import androidx.appcompat.widget.AppCompatImageButton;
import android.util.AttributeSet;
import android.view.MotionEvent;
diff --git a/app/src/main/java/net/nullsum/audinaut/view/CacheLocationPreference.java b/app/src/main/java/net/nullsum/audinaut/view/CacheLocationPreference.java
index 23ae861..75e210e 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/CacheLocationPreference.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/CacheLocationPreference.java
@@ -18,7 +18,7 @@ import android.content.Context;
import android.os.Build;
import android.os.Environment;
import android.preference.EditTextPreference;
-import android.support.v4.content.ContextCompat;
+import androidx.core.content.ContextCompat;
import android.util.AttributeSet;
import android.util.Log;
import android.view.LayoutInflater;
diff --git a/app/src/main/java/net/nullsum/audinaut/view/ErrorDialog.java b/app/src/main/java/net/nullsum/audinaut/view/ErrorDialog.java
index 9c81077..2d4551f 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/ErrorDialog.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/ErrorDialog.java
@@ -20,7 +20,7 @@ package net.nullsum.audinaut.view;
import android.app.Activity;
import android.content.Intent;
-import android.support.v7.app.AlertDialog;
+import androidx.appcompat.app.AlertDialog;
import net.nullsum.audinaut.R;
import net.nullsum.audinaut.activity.SubsonicFragmentActivity;
diff --git a/app/src/main/java/net/nullsum/audinaut/view/FastScroller.java b/app/src/main/java/net/nullsum/audinaut/view/FastScroller.java
index ef31a21..c047553 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/FastScroller.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/FastScroller.java
@@ -19,10 +19,10 @@ import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.content.Context;
-import android.support.annotation.NonNull;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.support.v7.widget.RecyclerView.AdapterDataObserver;
+import androidx.annotation.NonNull;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
+import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
@@ -34,7 +34,7 @@ import android.widget.TextView;
import net.nullsum.audinaut.R;
-import static android.support.v7.widget.RecyclerView.OnScrollListener;
+import static androidx.recyclerview.widget.RecyclerView.OnScrollListener;
public class FastScroller extends LinearLayout {
private static final String TAG = FastScroller.class.getSimpleName();
diff --git a/app/src/main/java/net/nullsum/audinaut/view/GridSpacingDecoration.java b/app/src/main/java/net/nullsum/audinaut/view/GridSpacingDecoration.java
index 6f37184..caa6fd1 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/GridSpacingDecoration.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/GridSpacingDecoration.java
@@ -16,8 +16,8 @@
package net.nullsum.audinaut.view;
import android.graphics.Rect;
-import android.support.v7.widget.GridLayoutManager;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.GridLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewGroup;
diff --git a/app/src/main/java/net/nullsum/audinaut/view/RecyclingImageView.java b/app/src/main/java/net/nullsum/audinaut/view/RecyclingImageView.java
index b6617f9..28e1059 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/RecyclingImageView.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/RecyclingImageView.java
@@ -20,7 +20,7 @@ import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
-import android.support.v7.widget.AppCompatImageView;
+import androidx.appcompat.widget.AppCompatImageView;
import android.util.AttributeSet;
public class RecyclingImageView extends AppCompatImageView {
diff --git a/app/src/main/java/net/nullsum/audinaut/view/UpdateView.java b/app/src/main/java/net/nullsum/audinaut/view/UpdateView.java
index 65e401f..8f6045e 100644
--- a/app/src/main/java/net/nullsum/audinaut/view/UpdateView.java
+++ b/app/src/main/java/net/nullsum/audinaut/view/UpdateView.java
@@ -22,7 +22,7 @@ import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
-import android.support.v7.widget.RecyclerView;
+import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
diff --git a/app/src/main/res/layout/abstract_activity.xml b/app/src/main/res/layout/abstract_activity.xml
index 73ee4d2..3970055 100644
--- a/app/src/main/res/layout/abstract_activity.xml
+++ b/app/src/main/res/layout/abstract_activity.xml
@@ -1,5 +1,5 @@
-
-
-
+
diff --git a/app/src/main/res/layout/abstract_fragment_activity.xml b/app/src/main/res/layout/abstract_fragment_activity.xml
index 29bd882..d35b4e1 100644
--- a/app/src/main/res/layout/abstract_fragment_activity.xml
+++ b/app/src/main/res/layout/abstract_fragment_activity.xml
@@ -13,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
-
-
@@ -14,7 +14,7 @@
android:layout_height="0dip"
android:layout_weight="1.0">
-
-
+
diff --git a/app/src/main/res/layout/download_playlist.xml b/app/src/main/res/layout/download_playlist.xml
index 3a7dc64..95cc8ab 100644
--- a/app/src/main/res/layout/download_playlist.xml
+++ b/app/src/main/res/layout/download_playlist.xml
@@ -22,7 +22,7 @@
android:layout_height="0dip"
android:layout_weight="1.0">
-
-
diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml
index a678b5b..0e4b9f5 100644
--- a/app/src/main/res/menu/main.xml
+++ b/app/src/main/res/menu/main.xml
@@ -5,7 +5,7 @@
android:id="@+id/menu_global_search"
android:icon="?attr/search"
android:title="@string/menu.search"
- compat:actionViewClass="android.support.v7.widget.SearchView"
+ compat:actionViewClass="androidx.appcompat.widget.SearchView"
compat:showAsAction="ifRoom|collapseActionView" />
diff --git a/app/src/main/res/menu/select_artist.xml b/app/src/main/res/menu/select_artist.xml
index fe9d53c..bf8da5c 100644
--- a/app/src/main/res/menu/select_artist.xml
+++ b/app/src/main/res/menu/select_artist.xml
@@ -5,7 +5,7 @@
android:id="@+id/menu_global_search"
android:icon="?attr/search"
android:title="@string/menu.search"
- compat:actionViewClass="android.support.v7.widget.SearchView"
+ compat:actionViewClass="androidx.appcompat.widget.SearchView"
compat:showAsAction="ifRoom|collapseActionView" />