diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b1e421d3..24b701c1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -63,7 +63,13 @@ android:name="android.support.PARENT_ACTIVITY" android:value=".activities.main.MainActivity"/> - + + diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsActivity.java index 60d83b44..ced0db58 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/downloads/DownloadsActivity.java @@ -81,15 +81,15 @@ public class DownloadsActivity extends BaseActivity implements DownloadsAdapter. } } else downloadsUrl = downloadsIndexUrl; + //Initialize toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); toolbar.setTitle(downloadsTitle); - /*setSupportActionBar(toolbar); - if (getSupportActionBar() != null) { - getSupportActionBar().setDisplayHomeAsUpEnabled(true); - getSupportActionBar().setDisplayShowHomeEnabled(true); - }*/ + setSupportActionBar(toolbar); + getSupportActionBar().setDisplayHomeAsUpEnabled(true); + getSupportActionBar().setDisplayShowHomeEnabled(true); createDrawer(); +// drawer.setSelection(DOWNLOADS_ID); progressBar = (MaterialProgressBar) findViewById(R.id.progressBar);