The issue I'm facing is when i try to set a background colour to ElevatedView, somehow it gets the default color predefined SynthUtils.defaultBaseColor in SynthUtils. I'm trying to set the background dynamic based on device theme.
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/relativeHeader"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:clipChildren="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<club.cred.synth.views.ElevatedView
android:id="@+id/headerPitView"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_margin="18dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:neuCornerRadius="20dp"
app:pitColor="?attr/lightBackgroundColor" />
..................