Skip to content

Commit 146b07d

Browse files
Make all non-primary buttons borderless/non-tonal
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent 5c38b74 commit 146b07d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

app/src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323

2424
import android.content.Context;
2525
import android.content.Intent;
26-
import android.content.res.Configuration;
2726
import android.content.res.Resources;
28-
import android.graphics.PorterDuff;
2927
import android.graphics.Typeface;
3028
import android.graphics.drawable.Drawable;
3129
import android.net.Uri;
@@ -229,7 +227,10 @@ public void setButtons(NotificationViewHolder holder, Notification notification)
229227

230228
// further actions
231229
final MaterialButton moreButton = new MaterialButton(notificationsActivity);
232-
viewThemeUtils.material.colorMaterialButtonPrimaryTonal(moreButton);
230+
moreButton.setBackgroundColor(ResourcesCompat.getColor(resources,
231+
android.R.color.transparent,
232+
null));
233+
viewThemeUtils.material.colorMaterialButtonPrimaryBorderless(moreButton);
233234

234235
moreButton.setAllCaps(false);
235236

0 commit comments

Comments
 (0)