diff --git a/app/src/main/java/eu/faircode/email/AdapterAccount.java b/app/src/main/java/eu/faircode/email/AdapterAccount.java index fa92acea59..6f91ed52f0 100644 --- a/app/src/main/java/eu/faircode/email/AdapterAccount.java +++ b/app/src/main/java/eu/faircode/email/AdapterAccount.java @@ -31,6 +31,7 @@ import android.os.Build; import android.os.Bundle; import android.provider.Settings; import android.text.SpannableString; +import android.text.style.RelativeSizeSpan; import android.text.style.StyleSpan; import android.view.LayoutInflater; import android.view.Menu; @@ -235,6 +236,7 @@ public class AdapterAccount extends RecyclerView.Adapter { SpannableString ss = new SpannableString(rule.name); ss.setSpan(new StyleSpan(Typeface.ITALIC), 0, ss.length(), 0); + ss.setSpan(new RelativeSizeSpan(0.9f), 0, ss.length(), 0); popupMenu.getMenu().add(Menu.NONE, 0, 0, ss).setEnabled(false); popupMenu.getMenu().add(Menu.NONE, R.string.title_rule_enabled, 1, R.string.title_rule_enabled) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 620b02768c..b341a788e0 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -56,6 +56,7 @@ import android.security.KeyChain; import android.text.SpannableString; import android.text.TextUtils; import android.text.format.DateUtils; +import android.text.style.RelativeSizeSpan; import android.text.style.StyleSpan; import android.util.Base64; import android.util.LongSparseArray; @@ -990,6 +991,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. SpannableString ss = new SpannableString(getString(R.string.title_search_server)); ss.setSpan(new StyleSpan(Typeface.ITALIC), 0, ss.length(), 0); + ss.setSpan(new RelativeSizeSpan(0.9f), 0, ss.length(), 0); popupMenu.getMenu().add(Menu.NONE, 0, 0, ss) .setEnabled(false); popupMenu.getMenu().add(Menu.NONE, 1, 1, R.string.title_search_text)