update AboutActivity to show License, remove ic_logo.png
This commit is contained in:
parent
9dd09d0522
commit
4807493850
10 changed files with 46 additions and 26 deletions
|
@ -28,15 +28,17 @@ public class AboutActivity extends BaseActivity {
|
|||
|
||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
||||
setSupportActionBar(toolbar);
|
||||
ActionBar bar = getSupportActionBar();
|
||||
if (bar != null) {
|
||||
bar.setDisplayHomeAsUpEnabled(true);
|
||||
bar.setDisplayShowHomeEnabled(true);
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
actionBar.setDisplayShowHomeEnabled(true);
|
||||
}
|
||||
|
||||
setTitle(R.string.about_title_activity);
|
||||
|
||||
TextView versionTextView = findViewById(R.id.versionTV);
|
||||
String versionName = BuildConfig.VERSION_NAME;
|
||||
String versionFormat = getString(R.string.about_application_version);
|
||||
String versionFormat = getString(R.string.about_tusky_version);
|
||||
versionTextView.setText(String.format(versionFormat, versionName));
|
||||
|
||||
appAccountButton = findViewById(R.id.tusky_profile_button);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue