Подскажите, как изменить цвет у навигационного индикатора. Вот мой код, так не работает. Прошу подсказать!
ActionBarDrawerToggle mDrawerToggle = new ActionBarDrawerToggle(
this, drawerLayout, newstoolbar,
R.string.navigation_drawer_open, R.string.navigation_drawer_close
);
mDrawerToggle.setDrawerIndicatorEnabled(true);
mDrawerToggle.setHomeAsUpIndicator(R.drawable.menu30);
drawerLayout.addDrawerListener(mDrawerToggle);
mDrawerToggle.syncState();
Код из стиля тоже не помогает:
<style name="DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="colorControlNormal">@color/colorWhite</item>
<item name="android:colorControlNormal" tools:targetApi="lollipop">@color/colorWhite</item>
<item name="color">@color/colorWhite</item>
...
style>
П.С. как сменить саму иконку знаю, интересно с элементом анимации.
UPD. стиль акшен бара:
<style name="MyActionBar" parent="AppTheme">
<item name="android:textColorPrimary">@color/colorWhite</item>
<item name="colorControlNormal">@color/colorWhite</item>
<item name="android:colorControlNormal" tools:targetApi="lollipop">@color/colorWhite</item>
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
</style>
Привязка в манифесте:
<activity
android:name=".NewsActivity"
android:theme="@style/MyActionBar">
<intent-filter>
<action android:name="android.intent.action.News" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>