Project

General

Profile

« Previous | Next » 

Revision 7ebd72f7

Added by Leszek Koltunski almost 4 years ago

Improvements to the UI - make it proportional regardless of the physical screen size. (Part 3)

View differences:

src/main/java/org/distorted/states/RubikStateSolver.java
102 102

  
103 103
    if( mNumFaces>0 )
104 104
      {
105
      setupBitmaps(scale);
105
      setupBitmaps();
106 106
      setupColorButtons(act,scale);
107

  
108 107
      markButton(act);
109 108
      }
110 109

  
......
126 125

  
127 126
///////////////////////////////////////////////////////////////////////////////////////////////////
128 127

  
129
  private void setupBitmaps(float scale)
128
  private void setupBitmaps()
130 129
    {
131 130
    final int SIZE = (int)mBitmapSize;
132 131
    final float R = SIZE*0.15f;

Also available in: Unified diff