Project

General

Profile

« Previous | Next » 

Revision bc7e49ec

Added by Leszek Koltunski over 2 years ago

Improve layout in the bandaged view.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorActivity.java
90 90
      {
91 91
      int barHeight    = (int)(mScreenHeight*RATIO_BAR);
92 92
      int viewHeight   = (int)(mScreenHeight*RATIO_SCROLL);
93
      int objectHeight = (int)(mScreenHeight*(1-RATIO_SCROLL-RATIO_BAR));
93
      int objectHeight = (int)(mScreenHeight*(1-RATIO_SCROLL+RATIO_BAR));
94 94
      mHeightBar = barHeight;
95 95

  
96 96
      LinearLayout layout = findViewById(R.id.lowerBar);

Also available in: Unified diff