diff --git a/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java b/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java
index 06c53226..bc5fd14e 100644
--- a/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java
+++ b/app/src/main/java/com/keylesspalace/tusky/AboutActivity.java
@@ -8,26 +8,21 @@ import android.view.View;
import android.widget.Button;
import android.widget.TextView;
-public class AboutActivity extends AppCompatActivity {
- private TextView mVersionTextView;
- private TextView mProjectSiteTextView;
- private TextView mFeatureSiteTextView;
- private Button mTuskyAccountButton;
-
+public class AboutActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_about);
+
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
- mVersionTextView = (TextView) findViewById(R.id.versionTV);
- mProjectSiteTextView = (TextView) findViewById(R.id.projectURL_TV);
- mFeatureSiteTextView = (TextView) findViewById(R.id.featuresURL_TV);
- mTuskyAccountButton = (Button) findViewById(R.id.tusky_profile_button);
- String versionName = BuildConfig.VERSION_NAME;
+ TextView versionTextView = (TextView) findViewById(R.id.versionTV);
+ Button mTuskyAccountButton = (Button) findViewById(R.id.tusky_profile_button);
- mVersionTextView.setText(getString(R.string.about_application_version) + versionName);
+ String versionName = BuildConfig.VERSION_NAME;
+ String versionFormat = getString(R.string.about_application_version);
+ versionTextView.setText(String.format(versionFormat, versionName));
mTuskyAccountButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml
index d28963d0..2c83347e 100644
--- a/app/src/main/res/layout/activity_about.xml
+++ b/app/src/main/res/layout/activity_about.xml
@@ -4,87 +4,85 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/material_drawer_item_padding"
tools:context="com.keylesspalace.tusky.AboutActivity">
-
+ android:layout_height="match_parent"
+ android:orientation="vertical">
-
-
+ android:background="?attr/colorPrimary" />
+
-
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:orientation="vertical"
- android:id="@+id/linearLayoutCompat">
+
-
+
-
+
-
+
-
+
-
-
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c852a7b3..7b99be65 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -168,9 +168,15 @@
Locked Account
About
- App version:
- Project website: \n https://tusky.keylesspalace.com
- Bug reports & feature requests: \n https://github.com/Vavassor/Tusky/issues
+ App version: %s
+
+ Project website:\n
+ https://tusky.keylesspalace.com
+
+
+ Bug reports & feature requests:\n
+ https://github.com/Vavassor/Tusky/issues
+
Tusky\'s Profile
Share content of toot
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 930bb7d8..0256ee02 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -30,8 +30,7 @@
- @color/text_color_secondary_dark
- @color/text_color_tertiary_dark
- @color/text_color_primary_inverse_dark
- - @color/text_color_secondary_inverse_dark
-
+ - @color/text_color_secondary_inverse_dark
- @color/text_color_tertiary_inverse_dark
- @color/text_color_primary_dark
@@ -54,15 +53,11 @@
- @drawable/tab_page_margin_dark
- @color/account_header_background_dark
- @color/toolbar_icon_dark
- -
- @color/account_toolbar_icon_collapsed_dark
-
- - @style/AppTheme.Account.ToolbarPopupTheme.Dark
-
+ - @color/account_toolbar_icon_collapsed_dark
+ - @style/AppTheme.Account.ToolbarPopupTheme.Dark
- @color/toolbar_icon_dark
- @color/compose_media_button_dark
- - @color/compose_media_button_disabled_dark
-
+ - @color/compose_media_button_disabled_dark
- @color/color_accent_dark
- @drawable/border_background_dark
- @color/image_button_dark
@@ -122,10 +117,8 @@
- @color/text_color_secondary_light
- @color/text_color_tertiary_light
- @color/text_color_primary_inverse_light
- - @color/text_color_secondary_inverse_light
-
- - @color/text_color_tertiary_inverse_light
-
+ - @color/text_color_secondary_inverse_light
+ - @color/text_color_tertiary_inverse_light
- @color/text_color_primary_light
- @style/AppTheme.BottomSheetDialog.Light
@@ -140,25 +133,18 @@
- @drawable/favourite_active_light
- @drawable/favourite_inactive_light
- @drawable/toggle_small_light
- -
- @color/sensitive_media_warning_background_light
-
+ - @color/sensitive_media_warning_background_light
- @drawable/media_preview_unloaded_light
- @drawable/status_divider_light
- @color/color_accent_light
- @drawable/tab_page_margin_light
- @color/account_header_background_light
- - @color/toolbar_icon_dark
-
- -
- @color/account_toolbar_icon_collapsed_light
-
- - @style/AppTheme.Account.ToolbarPopupTheme.Light
-
+ - @color/toolbar_icon_dark
+ - @color/account_toolbar_icon_collapsed_light
+ - @style/AppTheme.Account.ToolbarPopupTheme.Light
- @color/toolbar_icon_light
- @color/compose_media_button_light
- - @color/compose_media_button_disabled_light
-
+ - @color/compose_media_button_disabled_light
- @color/compose_mention_light
- @drawable/border_background_light
- @color/image_button_light
@@ -175,8 +161,7 @@
- @color/color_primary_dark_light
- @color/color_primary_light
- @color/text_color_primary_light
- - @color/text_color_primary_dark
-
+ - @color/text_color_primary_dark
- @color/toolbar_background_light
- @color/text_color_secondary_light
@@ -204,8 +189,4 @@
- true
-
-
-
-