|
@ -81,15 +81,15 @@ public class DownloadsActivity extends BaseActivity implements DownloadsAdapter. |
|
|
} |
|
|
} |
|
|
} else downloadsUrl = downloadsIndexUrl; |
|
|
} else downloadsUrl = downloadsIndexUrl; |
|
|
|
|
|
|
|
|
|
|
|
//Initialize toolbar
|
|
|
toolbar = (Toolbar) findViewById(R.id.toolbar); |
|
|
toolbar = (Toolbar) findViewById(R.id.toolbar); |
|
|
toolbar.setTitle(downloadsTitle); |
|
|
toolbar.setTitle(downloadsTitle); |
|
|
/*setSupportActionBar(toolbar); |
|
|
setSupportActionBar(toolbar); |
|
|
if (getSupportActionBar() != null) { |
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true); |
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true); |
|
|
getSupportActionBar().setDisplayShowHomeEnabled(true); |
|
|
getSupportActionBar().setDisplayShowHomeEnabled(true); |
|
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
createDrawer(); |
|
|
createDrawer(); |
|
|
|
|
|
// drawer.setSelection(DOWNLOADS_ID);
|
|
|
|
|
|
|
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
progressBar = (MaterialProgressBar) findViewById(R.id.progressBar); |
|
|
|
|
|
|
|
|