mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 02:38:58 +03:00
make button text non-all-caps for consistent styling
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
81654379f9
commit
3bba95365c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue