title: Make an AndroidView's theme style come from Compose and change in light / dark mode
body: <p>You style a <code>CalendarView</code> like so:</p>
  <pre class="lang-kotlin prettyprint-override"><code>AndroidView({
    CalendarView(android.view.ContextThemeWrapper(it, R.style.CustomCalendar)).apply {
      dateTextAppearance = R.style.CustomDate
      weekDayTextAppearance = R.style.CustomWeek
    }
  })
  </code></pre>
  <pre class="lang-xml prettyprint-override"><code>&lt;style name=&quot;CustomDay&quot; parent=&quot;android:TextAppearance.DeviceDefault.Small&quot;&gt;
      &lt;item name=&quot;android:textColor&quot;&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;CustomWeek&quot; parent=&quot;android:TextAppearance.DeviceDefault.Small&quot;&gt;
      &lt;item name=&quot;android:textColor&quot;&gt;@color/white&lt;/item&gt;
  &lt;/style&gt;
  &lt;style name=&quot;CustomCalendar&quot; parent=&quot;ThemeOverlay.MaterialComponents.MaterialCalendar&quot;&gt;
      &lt;item name=&quot;android:textColorPrimary&quot;&gt;@color/teal_700&lt;/item&gt;
      &lt;item name=&quot;colorAccent&quot;&gt;@color/purple_200&lt;/item&gt;
      &lt;item name=&quot;colorOnPrimary&quot;&gt;@color/purple_200&lt;/item&gt;
      &lt;item name=&quot;colorSurface&quot;&gt;@color/purple_200&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  <p>CalendarView does not let you programmatically set its colours anymore. They must come from a XML style.</p>
  <p>Is it possible to make the colours for <code>CalendarView</code> come from the colours defined in Compose, rather than the colours defined in the XML?</p>
  <p>Currently the duplication is vaguely manageable, except for the when the user changes to a dark mode Compose theme--then the <code>CalendarView</code>'s colours won't change to dark mode; the dark mode only exists within Compose world.</p>
  <hr />
  <p>Note: Android interaction in Compose is excellent. Yet Android views that demand xml styles force a duplication of Compose and XML styles and colours, if you decide you want Compose to be source of truth, and you also want to use Android Views. And how they switch during theme change is a question I still haven't answered sufficiently.</p>