FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable class

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2018-06-01 17:11:47 +05:30
parent 4edfdd8f3b
commit a54a03aa2f

View File

@ -415,10 +415,10 @@ public class FloatingActionButton extends AppCompatImageButton {
public @interface FAB_SIZE {
}
private static class TranslucentLayerDrawable extends LayerDrawable {
private static final class TranslucentLayerDrawable extends LayerDrawable {
private final int mAlpha;
public TranslucentLayerDrawable(final int alpha, final Drawable... layers) {
private TranslucentLayerDrawable(final int alpha, final Drawable... layers) {
super(layers);
mAlpha = alpha;
}