Android Question AppCompat Toolbar Back Button Issue

Haris Hafeez

Active Member
Licensed User
Longtime User
Hey Guys,

NOTE: I had posted this in the original toolbar tutorial but I think this should have its own thread as its a question.

I'm having an issue which I think might be related to the latest AppCompat library (v23.2.1). The issue is that despite using a custom theme and setting the color of spinBar as follows:
theme.xml:
B4X:
<style name="MyAppTheme" parent="MaterialDrawerTheme.Light">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary_dark</item>
<item name="colorAccent">@color/primary_light</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="drawerArrowStyle">@style/LightArrow</item>
</style>
<style name="LightArrow" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">false</item>
<item name="color">@android:color/white</item>
</style>

Can someone shed some light on this please and if there is a workaround to resolve this? Note that I did not use to have this problem before updating AppCompat using the SDK Manager.

I am attaching a sample project here.
 

Attachments

  • AppCompatTest.zip
    12 KB · Views: 295
Cookies are required to use this site. You must accept them to continue using the site. Learn more…