Update contribution activity
This commit is contained in:
parent
fc241fa688
commit
84e684d2e9
1 changed files with 16 additions and 12 deletions
|
@ -143,7 +143,6 @@ public class SettingsActivity extends SettingsBaseActivity {
|
||||||
edition = getString(R.string.local_index_installed) + " :\t" + DateFormat.getDateFormat(getApplicationContext()).format(date);
|
edition = getString(R.string.local_index_installed) + " :\t" + DateFormat.getDateFormat(getApplicationContext()).format(date);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
}
|
|
||||||
SpannableString content = new SpannableString(vt + version +"\n" +
|
SpannableString content = new SpannableString(vt + version +"\n" +
|
||||||
edition +"\n\n"+
|
edition +"\n\n"+
|
||||||
getString(R.string.about_content));
|
getString(R.string.about_content));
|
||||||
|
@ -156,6 +155,11 @@ public class SettingsActivity extends SettingsBaseActivity {
|
||||||
|
|
||||||
}, st, st + version.length(), 0);
|
}, st, st + version.length(), 0);
|
||||||
tv.setText(content);
|
tv.setText(content);
|
||||||
|
} else {
|
||||||
|
tv.setText(vt + version +"\n\n" +
|
||||||
|
getString(R.string.about_content));
|
||||||
|
}
|
||||||
|
|
||||||
tv.setPadding(5, 0, 5, 5);
|
tv.setPadding(5, 0, 5, 5);
|
||||||
tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, 19);
|
tv.setTextSize(TypedValue.COMPLEX_UNIT_SP, 19);
|
||||||
tv.setMovementMethod(LinkMovementMethod.getInstance());
|
tv.setMovementMethod(LinkMovementMethod.getInstance());
|
||||||
|
|
Loading…
Reference in a new issue