Văn bản Thanh công cụ của tôi, Mũi tên quay lại và tất cả đều có màu đen nhưng tôi muốn màu trắng là
Làm cách nào để đạt được nó?
styles.xml của tôi trông như thế này:Android: Văn bản trên thanh công cụ màu đen thay vì màu trắng
<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" >
thể trùng lặp của [Android Theme.Appcompat.Light với Dark Toolbar (đối với văn bản ánh sáng)] (http: // stackoverflow .com/questions/27551230/android-theme-appcompat-light-với-dark-toolbar-for-light-text) –