Project

General

Profile

« Previous | Next » 

Revision c02fa107

Added by Leszek Koltunski over 1 year ago

Continue unifying all the dialogs under one RubikDialogAbstract.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogBandagedSave.java
39 39
    return R.string.save_object;
40 40
    }
41 41

  
42
///////////////////////////////////////////////////////////////////////////////////////////////////
43

  
44
  public boolean hasArgument()
45
    {
46
    return false;
47
    }
48

  
42 49
///////////////////////////////////////////////////////////////////////////////////////////////////
43 50

  
44 51
  public void setPositive(AlertDialog.Builder builder)
......
85 92

  
86 93
///////////////////////////////////////////////////////////////////////////////////////////////////
87 94

  
88
  public void prepareBody(View view, FragmentActivity act, float size)
95
  public void prepareBody(Dialog dialog, View view, FragmentActivity act, float size)
89 96
    {
90 97
    TextView save = view.findViewById(R.id.save_object_text);
91 98
    save.setTextSize(TypedValue.COMPLEX_UNIT_PX, size);

Also available in: Unified diff