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:
parent
f4b0861ce2
commit
93c3e335dd
10 changed files with 28 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue