Skip to content

Commit

Permalink
ZooFragment.showAbout(): Show the version at the top.
Browse files Browse the repository at this point in the history
Instead of at the bottom. This should make it easier to be sure what
version people have.
  • Loading branch information
murraycu committed Dec 4, 2014
1 parent d0f0682 commit 156b529
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/main/java/com/murrayc/galaxyzoo/app/ZooFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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,
Expand Down

0 comments on commit 156b529

Please sign in to comment.