Profile edit remove row buttons

This commit is contained in:
Grishka
2022-02-17 23:16:30 +03:00
parent 2dcd3c765f
commit 3215960115
5 changed files with 60 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
package org.joinmastodon.android.ui;
import android.graphics.Outline;
import android.view.View;
import android.view.ViewOutlineProvider;
public class OutlineProviders{
private OutlineProviders(){
//no instance
}
public static final ViewOutlineProvider BACKGROUND_WITH_ALPHA=new ViewOutlineProvider(){
@Override
public void getOutline(View view, Outline outline){
view.getBackground().getOutline(outline);
outline.setAlpha(view.getAlpha());
}
};
}