Revision 2eb70e4a
Added by Leszek Koltunski 23 days ago
src/main/java/org/distorted/main/MainActivity.java | ||
---|---|---|
412 | 412 |
|
413 | 413 |
public void onSettings(View v) |
414 | 414 |
{ |
415 |
int sw = (int)(mScreenWidth*0.7); |
|
416 |
int sh = (int)(mScreenHeight*0.2f); |
|
415 |
int sw = (int)(mScreenWidth*0.70);
|
|
416 |
int sh = (int)(mScreenHeight*0.25f);
|
|
417 | 417 |
|
418 | 418 |
int vw = v.getWidth(); |
419 | 419 |
|
420 |
MainSettingsPopup popup = new MainSettingsPopup(this,mSortMode,mCurrentTheme,mScreenWidth,mScreenHeight);
|
|
421 |
popup.displayPopup(this,v,sw,sh,((vw-sw)/2),0);
|
|
420 |
MainSettingsPopup popup = new MainSettingsPopup(this,mSortMode,mCurrentTheme,mScreenWidth,sw,sh);
|
|
421 |
popup.displayPopup(this,v,((vw-sw)/2),0); |
|
422 | 422 |
} |
423 | 423 |
|
424 | 424 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
some progress with the main settings popup