1package com.xtremelabs.robolectric.shadows;
2
3import android.widget.Button;
4import android.widget.TextView;
5import com.xtremelabs.robolectric.internal.Implements;
6
7@Implements(Button.class)
8public class ShadowButton extends ShadowTextView {
9
10    @Override
11    public void applyAttributes() {
12        super.applyAttributes();
13        if (getBackground() == null) {
14            setBackgroundColor(android.R.color.transparent);
15        }
16    }
17}
18