Project

General

Profile

« Previous | Next » 

Revision bebd7af5

Added by Leszek Koltunski over 2 years ago

Cleanups.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorScreen.java
31 31
public class BandagedCreatorScreen
32 32
{
33 33
  private TransparentImageButton mBackButton, mResetButton, mDoneButton;
34
  private int mObjectOrdinal;
35 34
  private int mBarHeight;
36 35
  private float mButtonSize;
37 36

  
......
98 97

  
99 98
///////////////////////////////////////////////////////////////////////////////////////////////////
100 99

  
101
  void onAttachedToWindow(final BandagedCreatorActivity act, final int objectOrdinal)
100
  void onAttachedToWindow(final BandagedCreatorActivity act)
102 101
    {
103 102
    int width = act.getScreenWidthInPixels();
104 103
    mBarHeight = act.getHeightBar();
105 104
    mButtonSize = width*RubikActivity.BUTTON_TEXT_SIZE;
106 105

  
107
    mObjectOrdinal = objectOrdinal;
108

  
109 106
    LinearLayout.LayoutParams paramsL = new LinearLayout.LayoutParams(width/4, LinearLayout.LayoutParams.MATCH_PARENT);
110 107
    LinearLayout.LayoutParams paramsM = new LinearLayout.LayoutParams(width/2, LinearLayout.LayoutParams.MATCH_PARENT);
111 108
    LinearLayout.LayoutParams paramsR = new LinearLayout.LayoutParams(width/4, LinearLayout.LayoutParams.MATCH_PARENT);

Also available in: Unified diff