diff --git a/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java b/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java index 8c1fa88b..a3efd51c 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java @@ -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); diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 09d01bbb..1a52e5b1 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -1,6 +1,5 @@ - - - + android:orientation="vertical" + android:paddingBottom="16dp" + android:paddingTop="24dp"> + android:textStyle="bold" /> + + + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + android:textIsSelectable="true" /> + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + android:textIsSelectable="true" />