Revision 70688a23
Added by Leszek Koltunski 9 months ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
128 | 128 |
{ |
129 | 129 |
final int margin = (int)(width*RubikActivity.SMALL_MARGIN); |
130 | 130 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(MP,MP,1.0f); |
131 |
mObjButton = new TransparentImageButton(act, R.drawable.ui_huge_cube_menu,params);
|
|
131 |
mObjButton = new TransparentImageButton(act, R.drawable.ui_cube_menu,params); |
|
132 | 132 |
|
133 | 133 |
mObjButton.setOnClickListener( new View.OnClickListener() |
134 | 134 |
{ |
... | ... | |
158 | 158 |
private void setupMenuButton(final RubikActivity act, final float width, final float height) |
159 | 159 |
{ |
160 | 160 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(MP,MP,1.0f); |
161 |
mMenuButton = new TransparentImageButton(act, R.drawable.ui_huge_menu,params);
|
|
161 |
mMenuButton = new TransparentImageButton(act, R.drawable.ui_menu,params); |
|
162 | 162 |
|
163 | 163 |
mMenuButton.setOnClickListener( new View.OnClickListener() |
164 | 164 |
{ |
... | ... | |
253 | 253 |
ImageButton buttonDow = layout.findViewById(R.id.buttonDow); |
254 | 254 |
ImageButton buttonInf = layout.findViewById(R.id.buttonInf); |
255 | 255 |
|
256 |
buttonTut.setImageResource(R.drawable.ui_huge_tutorial);
|
|
257 |
buttonDow.setImageResource(R.drawable.ui_huge_download);
|
|
258 |
buttonInf.setImageResource(R.drawable.ui_huge_info);
|
|
256 |
buttonTut.setImageResource(R.drawable.ui_tutorial); |
|
257 |
buttonDow.setImageResource(R.drawable.ui_download); |
|
258 |
buttonInf.setImageResource(R.drawable.ui_info); |
|
259 | 259 |
|
260 | 260 |
TypedValue outValue = new TypedValue(); |
261 | 261 |
act.getTheme().resolveAttribute(android.R.attr.selectableItemBackgroundBorderless, outValue, true); |
... | ... | |
308 | 308 |
void setupSolveButton(final RubikActivity act) |
309 | 309 |
{ |
310 | 310 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(MP,MP,1.0f); |
311 |
mSolveButton = new TransparentImageButton(act, R.drawable.ui_huge_cube_solve,params);
|
|
311 |
mSolveButton = new TransparentImageButton(act, R.drawable.ui_cube_solve,params); |
|
312 | 312 |
|
313 | 313 |
mSolveButton.setOnClickListener( new View.OnClickListener() |
314 | 314 |
{ |
... | ... | |
326 | 326 |
private void setupScrambleButton(final RubikActivity act) |
327 | 327 |
{ |
328 | 328 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(MP,MP,1.0f); |
329 |
mScrambleButton = new TransparentImageButton(act, R.drawable.ui_huge_cube_scramble,params);
|
|
329 |
mScrambleButton = new TransparentImageButton(act, R.drawable.ui_cube_scramble,params); |
|
330 | 330 |
|
331 | 331 |
mScrambleButton.setOnClickListener( new View.OnClickListener() |
332 | 332 |
{ |
Also available in: Unified diff
LTR UI elements; rename some of them.