My toolbar text, back arrow and everything goes black, but I want it to be white
How can i achieve this?
My styles.xml looks like this:
<resources> <style name="AppTheme" parent="MyMaterialTheme.Base"> </style> <style name="MyMaterialTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"> <item name="android:windowNoTitle">true</item> <item name="windowActionBar">false</item> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> <item name="android:windowBackground">@color/windowBackground</item> <item name="android:textColor">@color/textColorPrimary</item> <item name="android:textStyle">normal</item> </style> </resources>
Android Manifest Snippet:
<application android:allowBackup="true" android:icon="@mipmap/hello" android:label="@string/app_name" android:theme="@style/AppTheme" >
android android-xml android-styles android-toolbar
ojas
source share