Profile edit remove row buttons
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user