Project

General

Profile

« Previous | Next » 

Revision 31a9f38d

Added by Leszek Koltunski almost 4 years ago

Introduce HUGE ui version.

View differences:

src/main/java/org/distorted/main/RubikActivity.java
313 313
        //android.util.Log.e("view", "returning medium, mScrH="+mScreenHeight);
314 314
        return 1;
315 315
        }
316
      if( mScreenHeight<1900 )
317
        {
318
        //android.util.Log.e("view", "returning bug, mScrH="+mScreenHeight);
319
        return 2;
320
        }
316 321

  
317
      //android.util.Log.e("view", "returning big, mScrH="+mScreenHeight);
318
      return 2;
322
      //android.util.Log.e("view", "returning huge, mScrH="+mScreenHeight);
323
      return 3;
319 324
      }
320 325

  
321 326
///////////////////////////////////////////////////////////////////////////////////////////////////
322 327

  
323
    public static int getDrawable(int small, int medium, int big)
328
    public static int getDrawable(int small, int medium, int big, int huge)
324 329
      {
325 330
      int size = getDrawableSize();
326 331

  
......
328 333
        {
329 334
        case 0 : return small;
330 335
        case 1 : return medium;
331
        default: return big;
336
        case 2 : return big;
337
        default: return huge;
332 338
        }
333 339
      }
334 340

  

Also available in: Unified diff