Project

General

Profile

« Previous | Next » 

Revision e48ad1af

Added by Leszek Koltunski about 2 years ago

Bandaged 3x3: progress with saving.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorActivity.java
25 25
import android.view.View;
26 26
import android.view.ViewGroup;
27 27
import android.view.WindowManager;
28
import android.widget.HorizontalScrollView;
28 29
import android.widget.LinearLayout;
29 30

  
30 31
import androidx.appcompat.app.AppCompatActivity;
......
98 99
      paramsL.height = barHeight;
99 100
      layout.setLayoutParams(paramsL);
100 101

  
101
      LinearLayout view = findViewById(R.id.bandagedCreatorView);
102
      HorizontalScrollView view = findViewById(R.id.bandagedCreatorScrollView);
102 103
      ViewGroup.LayoutParams paramsS = view.getLayoutParams();
103 104
      paramsS.height = viewHeight;
104 105

  
......
221 222
      return view.getRenderer();
222 223
      }
223 224

  
225
///////////////////////////////////////////////////////////////////////////////////////////////////
226

  
227
    public void addObject(String name)
228
      {
229
      mScreen.addObject(this,name);
230
      }
231

  
224 232
///////////////////////////////////////////////////////////////////////////////////////////////////
225 233

  
226 234
    public int getHeightBar()

Also available in: Unified diff