1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Small layout improvement

This commit is contained in:
M66B 2022-11-12 20:02:32 +01:00
parent 149ec74cd1
commit 5cea7da039

View file

@ -290,7 +290,7 @@ public class FragmentSetup extends FragmentBase {
{ {
String gmail = getString(R.string.title_setup_android, getString(R.string.title_setup_gmail)); String gmail = getString(R.string.title_setup_android, getString(R.string.title_setup_gmail));
SpannableString ss = new SpannableString(gmail); SpannableString ss = new SpannableString(gmail);
ss.setSpan(new RelativeSizeSpan(0.9f), 0, ss.length(), 0); ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0);
MenuItem item = menu.add(Menu.FIRST, R.string.title_setup_gmail, order++, ss); MenuItem item = menu.add(Menu.FIRST, R.string.title_setup_gmail, order++, ss);
int resid = res.getIdentifier("provider_gmail", "drawable", pkg); int resid = res.getIdentifier("provider_gmail", "drawable", pkg);
if (resid != 0) if (resid != 0)
@ -326,7 +326,7 @@ public class FragmentSetup extends FragmentBase {
.setVisible(false); .setVisible(false);
SpannableString ss = new SpannableString(getString(R.string.title_setup_pop3)); SpannableString ss = new SpannableString(getString(R.string.title_setup_pop3));
ss.setSpan(new RelativeSizeSpan(0.9f), 0, ss.length(), 0); ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0);
menu.add(Menu.NONE, R.string.title_setup_pop3, order++, ss); menu.add(Menu.NONE, R.string.title_setup_pop3, order++, ss);
menu.add(Menu.NONE, R.string.menu_faq, order++, R.string.menu_faq) menu.add(Menu.NONE, R.string.menu_faq, order++, R.string.menu_faq)