From 156b5291e24a2f1c9aa4804816dc6457104d5ab8 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 4 Dec 2014 12:47:55 +0100 Subject: [PATCH] ZooFragment.showAbout(): Show the version at the top. Instead of at the bottom. This should make it easier to be sure what version people have. --- app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java b/app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java index 5289f93c..a3e6667b 100644 --- a/app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java +++ b/app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java @@ -110,6 +110,8 @@ void showAbout() { //because we lose the links when using StringBuilder. final SpannableStringBuilder strBuilder = new SpannableStringBuilder(); final String PARAGRAPH_BREAK = "\n\n"; + strBuilder.append(versionText); + strBuilder.append(PARAGRAPH_BREAK); strBuilder.append(getText(R.string.about_text1)); strBuilder.append(PARAGRAPH_BREAK); strBuilder.append(getText(R.string.about_text2)); @@ -123,8 +125,7 @@ void showAbout() { strBuilder.append(getText(R.string.about_text5)); strBuilder.append(PARAGRAPH_BREAK); strBuilder.append(getText(R.string.about_text6)); - strBuilder.append(PARAGRAPH_BREAK); - strBuilder.append(versionText); + textView.setText(strBuilder); /* We used to put the version text into a separate TextView,