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

themes.xml

14 lines · 781 bytes

Changed in: 0.5.0

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