Browse Source

make button text non-all-caps for consistent styling

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 years ago
parent
commit
3bba95365c

+ 2 - 2
src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java

@@ -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);