Revision 6d4d56cb
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
48 | 48 |
public static final float LARGE_MARGIN = 0.025f; |
49 | 49 |
public static final float BUTTON_TEXT_SIZE = 0.05f; |
50 | 50 |
public static final float TITLE_TEXT_SIZE = 0.06f; |
51 |
public static final float BITMAP_TEXT_SIZE = 0.09f;
|
|
51 |
public static final float BITMAP_TEXT_SIZE = 0.05f;
|
|
52 | 52 |
public static final float MENU_ITEM_SIZE = 0.12f; |
53 | 53 |
public static final float PATTERN_GROUP_TEXT = 0.03f; |
54 | 54 |
public static final float PATTERN_CHILD_TEXT = 0.02f; |
src/main/java/org/distorted/states/RubikStateSolver.java | ||
---|---|---|
74 | 74 |
void enterState(final RubikActivity act) |
75 | 75 |
{ |
76 | 76 |
float width = act.getScreenWidthInPixels(); |
77 |
float heigh = act.getScreenHeightInPixels(); |
|
77 | 78 |
mButtonSize = width*RubikActivity.BUTTON_TEXT_SIZE; |
78 | 79 |
mTitleSize = width*RubikActivity.TITLE_TEXT_SIZE; |
79 |
mBitmapSize = width*RubikActivity.BITMAP_TEXT_SIZE;
|
|
80 |
mBitmapSize = heigh*RubikActivity.BITMAP_TEXT_SIZE;
|
|
80 | 81 |
|
81 | 82 |
mWeakAct = new WeakReference<>(act); |
82 | 83 |
|
Also available in: Unified diff
Correction of the size of '3x3x3 Solver' bitmaps.