Display download overflow menu

This commit is contained in:
Bradlee Speice 2014-12-26 11:29:38 -05:00
parent c7ee841a9c
commit ac43b20fcd
2 changed files with 4 additions and 4 deletions

View File

@ -81,6 +81,8 @@ public class DownloadActivity extends BaseActivity implements
setContentView(R.layout.activity_download); setContentView(R.layout.activity_download);
ButterKnife.inject(this); ButterKnife.inject(this);
setSupportActionBar(toolbar);
navigationContent.setAdapter( navigationContent.setAdapter(
new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, new ArrayAdapter<>(this, android.R.layout.simple_list_item_1,
validCategories)); validCategories));

View File

@ -1,9 +1,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:context=".DownloadActivity" > tools:context=".DownloadActivity">
<item android:id="@+id/action_settings" <item android:id="@+id/action_settings"
android:orderInCategory="100" android:orderInCategory="100"
android:title="@string/action_settings" android:title="@string/action_settings" />
app:showAsAction="never" />
</menu> </menu>