diff options
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index b28d2c0..9c31a6f 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -84,6 +84,7 @@ public final class Config [get_current_layout()] and [set_current_layout()]. */ int current_layout_portrait; int current_layout_landscape; + public int bottomInsetMin; private Config(SharedPreferences prefs, Resources res, IKeyEventHandler h) { @@ -187,6 +188,8 @@ public final class Config current_layout_landscape = _prefs.getInt("current_layout_landscape", 0); circle_sensitivity = Integer.valueOf(_prefs.getString("circle_sensitivity", "2")); clipboard_history_enabled = _prefs.getBoolean("clipboard_history_enabled", false); + bottomInsetMin = Utils.is_navigation_bar_gestural(res) ? + (int)res.getDimension(R.dimen.bottom_inset_min) : 0; } public int get_current_layout() |
