Project

General

Profile

« Previous | Next » 

Revision 1eb154b5

Added by Leszek Koltunski over 2 years ago

Exit button in the main screen.

View differences:

src/main/java/org/distorted/screens/RubikScreenPlay.java
469 469

  
470 470
  void setupExitButton(final RubikActivity act)
471 471
    {
472
    int icon = RubikActivity.getDrawable(R.drawable.ui_small_cube_solve_new,R.drawable.ui_medium_cube_solve_new, R.drawable.ui_big_cube_solve_new, R.drawable.ui_huge_cube_solve_new);
472
    int icon = RubikActivity.getDrawable(R.drawable.ui_small_exit,R.drawable.ui_medium_exit, R.drawable.ui_big_exit, R.drawable.ui_huge_exit);
473 473
    LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,LinearLayout.LayoutParams.MATCH_PARENT,1.0f);
474 474
    mExitButton = new TransparentImageButton(act, icon, TransparentImageButton.GRAVITY_MIDDLE,params);
475 475

  

Also available in: Unified diff