EARHORNMUSIC UPnP · Android TV · Phones · Android Auto · GNU/Linux
Release 0.5.0

themes.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!--
      Parent is the platform Material theme. We used to parent AppCompat here and reference the
      AppCompat theme directly in the manifest, which was wrong on two counts: MainActivity is a
      ComponentActivity (not AppCompatActivity) so the AppCompat contract wasn't being honored,
      and androidx.tv:tv-material reads Material attributes off the window theme at inflation.
      The framework Material theme satisfies both without pulling in com.google.android.material.
    -->
    <style name="Theme.Earhorn" parent="android:Theme.Material.NoActionBar">
        <item name="android:windowBackground">@color/surface_base</item>
        <item name="android:windowNoTitle">true</item>
    </style>
</resources>