Project

General

Profile

« Previous | Next » 

Revision 2971588c

Added by Leszek Koltunski over 3 years ago

Progress creating the Tutorial Activity.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogInfo.java
21 21

  
22 22
import android.app.Dialog;
23 23
import android.content.DialogInterface;
24
import android.content.Intent;
25 24
import android.os.Bundle;
26 25
import android.util.DisplayMetrics;
27 26
import android.util.TypedValue;
......
39 38
import org.distorted.main.R;
40 39
import org.distorted.main.RubikActivity;
41 40
import org.distorted.objects.TwistyObject;
42
import org.distorted.tutorial.TutorialActivity;
43 41

  
44 42
///////////////////////////////////////////////////////////////////////////////////////////////////
45 43

  
......
75 73
      public void onClick(DialogInterface dialog, int which)
76 74
        {
77 75
        RubikActivity ract = (RubikActivity)getContext();
78
        if( ract!=null ) ract.switchTutorial();
76
        if( ract!=null ) ract.switchTutorial("QMzeJobSu1M");
79 77
        }
80 78
      });
81 79

  

Also available in: Unified diff