Project

General

Profile

« Previous | Next » 

Revision 1c04d054

Added by Leszek Koltunski 7 months ago

Major progress to version 2.0.0.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogCreators.java
18 18

  
19 19
import androidx.fragment.app.FragmentActivity;
20 20

  
21
import org.distorted.main.MainActivity;
21 22
import org.distorted.main.R;
22
import org.distorted.main.RubikActivity;
23 23

  
24 24
///////////////////////////////////////////////////////////////////////////////////////////////////
25 25

  
......
88 88
      {
89 89
      WindowManager.LayoutParams params = window.getAttributes();
90 90
      params.width  = (int)Math.min( mHeight*0.65f,mWidth*0.98f );
91
      params.height = (int)( mHeight*0.90f);
91 92
      window.setAttributes(params);
92 93
      }
93 94
    }
......
125 126
    pB.setMargins(0,2*margin,0,0);
126 127

  
127 128
    int num = BandagedObjectDescription.NUM_OBJECTS;
128
    RubikActivity ract = (RubikActivity) getContext();
129
    MainActivity ract = (MainActivity) getContext();
129 130

  
130 131
    for(int i=0; i<num; i++)
131 132
      {

Also available in: Unified diff