Change Toggle Color Toolbar Android Studio

[Solved] Change Toggle Color Toolbar Android Studio | Swift - Code Explorer | yomemimo.com
Question : change toggle color toolbar android studio

Answered by : nivin-kumar-m

// create new style in themes.xml
<style name="ToolbarTheme" parent="@style/ThemeOverlay.AppCompat.ActionBar"> <!-- Customize color of navigation drawer icon and back arrow --> <item name="colorControlNormal">@color/your_custom_color</item>
</style>
// set this style to the toolbar in the Xml of the activity <androidx.appcompat.widget.Toolbar app:title="Home" app:theme="@style/ToolbarTheme" // this one app:titleTextColor="@color/white" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" android:id="@+id/toolbar" /> 

Source : https://stackoverflow.com/questions/33339043/how-to-change-color-of-toolbar-back-button-in-android | Last Update : Tue, 16 Aug 22

Answers related to change toggle color toolbar android studio

Code Explorer Popular Question For Swift