Fix title text not showing correctly

This commit is contained in:
Bradlee Speice 2014-12-28 22:06:27 -05:00
parent d21cf4777f
commit e882512a78
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,6 @@
android:theme="@style/MinimalBible">
<activity
android:name=".activity.downloader.DownloadActivity"
android:exported="true"
android:label="@string/app_name" />
<activity
android:name=".activity.settings.MinimalBibleSettings"

View File

@ -145,6 +145,8 @@ public class DownloadActivity extends BaseActivity implements
}
private void setTitle(String title) {
toolbar.setTitle(title);
// toolbar.setTitle() doesn't work on activity load, otherwise that would
// be the preference.
getSupportActionBar().setTitle(title);
}
}