I want to change the color of Title1
in the navigation drawer
It is based on the android:textColorSecondary
color.
You can define something like:
<com.google.android.material.navigation.NavigationView
android:theme="@style/ThemeOverlay.ItemGroup"
..>
with:
<style name="ThemeOverlay.ItemGroup" parent="">
<item name="android:textColorSecondary">@color/....</item>
</style>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.