I am changing the default arrow in the actionbar to a dropdown menu icon. Here is the code for my actionbar:
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
ActionBar actionbar = getSupportActionBar();
actionbar.setDisplayHomeAsUpEnabled(true);
actionbar.setHomeAsUpIndicator(R.drawable.menu);
The problem is, the icon has not changed from a back arrow to a menu icon. The menu in drawable is a jpg file, so I don't see why there would be issues using it to replace the back arrow. Any suggestions?