make button text non-all-caps for consistent styling

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2020-07-28 12:28:53 +02:00
parent 81654379f9
commit 3bba95365c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -164,13 +164,13 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
if (action.primary) {
ThemeUtils.colorPrimaryButton(button, notificationsActivity);
button.setTypeface(button.getTypeface(), Typeface.BOLD);
} else {
button.setBackgroundColor(resources.getColor(R.color.grey_200));
button.setTextColor(primaryColor);
button.setTypeface(button.getTypeface(), Typeface.BOLD);
}
button.setAllCaps(false);
button.setText(action.label);
button.setCornerRadiusResource(R.dimen.button_corner_radius);