commit 5cfca3814ffcd27539e3a35035481d9b3a70ebeb
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Thu Nov 18 22:18:24 2021 +0100

    Improve the background color of the selected tab in all dialogs.

diff --git a/src/main/res/drawable/tab_background.xml b/src/main/res/drawable/tab_background.xml
new file mode 100644
index 00000000..dbff81a7
--- /dev/null
+++ b/src/main/res/drawable/tab_background.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+    <item android:drawable="@drawable/tab_background_selected" android:state_selected="true" />
+    <item android:drawable="@drawable/tab_background_unselected" android:state_selected="false" android:state_focused="false" android:state_pressed="false" />
+</selector>
\ No newline at end of file
diff --git a/src/main/res/drawable/tab_background_selected.xml b/src/main/res/drawable/tab_background_selected.xml
new file mode 100644
index 00000000..de60829a
--- /dev/null
+++ b/src/main/res/drawable/tab_background_selected.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+    <solid android:color="@color/grey"/>
+</shape>
\ No newline at end of file
diff --git a/src/main/res/drawable/tab_background_unselected.xml b/src/main/res/drawable/tab_background_unselected.xml
new file mode 100644
index 00000000..842d787d
--- /dev/null
+++ b/src/main/res/drawable/tab_background_unselected.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+    <solid android:color="@color/dark_grey"/>
+</shape>
\ No newline at end of file
diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml
index 91032f76..51b0278a 100644
--- a/src/main/res/values/styles.xml
+++ b/src/main/res/values/styles.xml
@@ -16,6 +16,8 @@
     </style>
 
    <style name="MaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar">
+        <item name="tabBackground">@drawable/tab_background</item>
+        <item name="tabIndicatorHeight">0dp</item>
         <item name="android:windowNoTitle">true</item>
         <item name="android:windowActionBar">false</item>
         <item name="android:windowFullscreen">true</item>
