Go back to default Holo theme as the app used previously.
authorChristian Weiske <cweiske@cweiske.de>
Wed, 28 Aug 2024 17:02:20 +0000 (19:02 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 28 Aug 2024 19:07:41 +0000 (21:07 +0200)
res/layout/activity_main.xml
src/de/cweiske/headphoneindicator/MainActivity.java

index 15ff0056ea5d8a8fb0a64fc4735da968c62fab66..b919322696054effa1ebbd57af76f6a4127912d3 100644 (file)
@@ -3,11 +3,12 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:background="@android:color/background_dark"
     android:paddingLeft="16dp"
     android:paddingTop="16dp"
     android:paddingRight="16dp"
     android:paddingBottom="16dp"
-    android:theme="@android:style/Theme"
+    android:theme="@android:style/Theme.Holo"
     tools:context="de.cweiske.headphoneindicator.MainActivity">
 
     <ImageView
index 1e0ddeefeef038e2425f408e636db88e7d8f6a6c..b3e205a3ddb70b2c3a4e3e8f1563d995e78c61da 100644 (file)
@@ -1,5 +1,7 @@
 package de.cweiske.headphoneindicator;
 
+import static android.R.style.Theme_DeviceDefault_DayNight;
+
 import android.Manifest;
 import android.app.Activity;
 import android.app.NotificationChannel;