mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Make all non-primary buttons borderless/non-tonal
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
09c7aa2d0a
commit
0d98f2993b
1 changed files with 4 additions and 3 deletions
|
@ -23,9 +23,7 @@ package com.owncloud.android.ui.adapter;
|
|||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
|
@ -229,7 +227,10 @@ public class NotificationListAdapter extends RecyclerView.Adapter<NotificationLi
|
|||
|
||||
// further actions
|
||||
final MaterialButton moreButton = new MaterialButton(notificationsActivity);
|
||||
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(moreButton);
|
||||
moreButton.setBackgroundColor(ResourcesCompat.getColor(resources,
|
||||
android.R.color.transparent,
|
||||
null));
|
||||
viewThemeUtils.material.colorMaterialButtonPrimaryBorderless(moreButton);
|
||||
|
||||
moreButton.setAllCaps(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue