1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

no ZLAndroidApplication.Instance() method

This commit is contained in:
Nikolay Pultsin 2011-12-26 23:36:51 +00:00
parent f4b0861ce2
commit 93c3e335dd
10 changed files with 28 additions and 32 deletions

View file

@ -191,7 +191,7 @@ public abstract class DictionaryUtil {
final int minHeight = Math.min(200, screenHeight * 2 / 3);
intent.putExtra(ColorDict3.HEIGHT, Math.max(minHeight, Math.min(maxHeight, space)));
intent.putExtra(ColorDict3.GRAVITY, showAtBottom ? Gravity.BOTTOM : Gravity.TOP);
final ZLAndroidApplication application = ZLAndroidApplication.Instance();
final ZLAndroidApplication application = (ZLAndroidApplication)activity.getApplication();
intent.putExtra(ColorDict3.FULLSCREEN, !application.ShowStatusBarOption.getValue());
}
activity.startActivity(intent);