xxxxxxxxxx
//use toolbar and set text color as attribute
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/Theme.ProphecyToday">
<androidx.appcompat.widget.Toolbar
app:titleTextColor="@color/white" // this one
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:id="@+id/toolbar" />
</com.google.android.material.appbar.AppBarLayout>