android: capture current keyboard height
expose a new virtual_keyboard_height function under notedeck::platform::android which gets the current height of the virtual keyboard. We can use this to tranlate the view out of the way Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -6,6 +6,7 @@ description = "The APIs and data structures used by notedeck apps"
|
||||
|
||||
[dependencies]
|
||||
nostrdb = { workspace = true }
|
||||
jni = { workspace = true }
|
||||
url = { workspace = true }
|
||||
strum = { workspace = true }
|
||||
strum_macros = { workspace = true }
|
||||
@@ -35,5 +36,8 @@ tempfile = { workspace = true }
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
security-framework = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
jni = { workspace = true }
|
||||
|
||||
[features]
|
||||
profiling = ["puffin", "puffin_egui"]
|
||||
|
||||
Reference in New Issue
Block a user