The window now extends into the display cutout and the top bars sit at the top edge with the gap fixed at the screen center. Top buttons are at most 0.8 of the bottom bar buttons. The cutout query is removed again.
20 lines
481 B
C++
20 lines
481 B
C++
#pragma once
|
|
|
|
#include "PlatformInfo.hpp"
|
|
|
|
#include <string>
|
|
|
|
struct android_app;
|
|
struct AInputEvent;
|
|
|
|
namespace tp::android {
|
|
|
|
[[nodiscard]] android_app* application();
|
|
void setApplication(android_app* app);
|
|
|
|
[[nodiscard]] std::string unicodeText(android_app& app, const AInputEvent* event);
|
|
void setSoftKeyboardVisible(android_app& app, bool visible);
|
|
[[nodiscard]] EdgeInsets systemInsets(android_app& app);
|
|
|
|
void extractAssets(android_app& app, const char* directory);
|
|
}
|