Revision 033100af
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
70 | 70 |
private static final int[] mLocation = new int[2]; |
71 | 71 |
|
72 | 72 |
private TransparentImageButton mObjButton, mMenuButton, mSolveButton, mScrambleButton; |
73 |
private Button mPlayButton; |
|
73 |
private TransparentButton mPlayButton;
|
|
74 | 74 |
private PopupWindow mObjectPopup, mMenuPopup, mPlayPopup; |
75 | 75 |
private ObjectType mObject = DEF_OBJECT; |
76 | 76 |
private int mObjectSize, mMenuLayoutWidth, mMenuLayoutHeight, mPlayLayoutWidth; |
... | ... | |
172 | 172 |
{ |
173 | 173 |
final int margin = (int)(width*RubikActivity.MARGIN); |
174 | 174 |
|
175 |
mPlayButton = new TransparentButton(act, R.string.play, mButtonSize, width);
|
|
175 |
mPlayButton = new TransparentButton(act, R.string.play, mButtonSize); |
|
176 | 176 |
|
177 | 177 |
mPlayButton.setOnClickListener( new View.OnClickListener() |
178 | 178 |
{ |
Also available in: Unified diff
Convert TransparentButton to Material Design.