chore(android): drop the keyboard diagnostic, and the field only jumps if it must
The trace has served: it named the cause where two rounds of reasoning had missed it. Out with it, and out with the viewport measurement it proved worthless here - a value that is always zero reads as a mechanism, and the next person would trust it. adjustResize goes too. Measured to do nothing: Android ignores the mode for a fullscreen window, which FMX's is. Leaving it in the manifest would suggest it carries something. A field already near the top of the panel - the settings ones - stays where it is. It was visible as it was, and lifting it only moved under the eye what was already fine. The plan keeps what the measurement cost: on this screen, instrument first.
This commit is contained in:
@@ -63,21 +63,11 @@
|
||||
<%services%>
|
||||
<!-- Our activity is a subclass of the built-in NativeActivity framework class.
|
||||
This will take care of integrating with our NDK code. -->
|
||||
<!-- windowSoftInputMode : LA FENETRE SE RETRECIT QUAND LE CLAVIER MONTE.
|
||||
Sans cela il RECOUVRE la page - le cadre garde sa hauteur, le
|
||||
contenu ne deborde de rien, et le bas du formulaire devient
|
||||
inatteignable : le champ mot de passe ne se voyait qu'en repliant
|
||||
le clavier. Mesure a l'appui, clavier leve : innerHeight et
|
||||
visualViewport.height restaient tous deux a 719, et la boite
|
||||
defilante montrait 659 pour 659 de contenu. La page n'avait aucun
|
||||
moyen d'apprendre que le clavier existait ; c'est la fenetre qui
|
||||
devait le dire. -->
|
||||
<activity
|
||||
android:name="com.embarcadero.firemonkey.FMXNativeActivity"
|
||||
android:exported="true"
|
||||
android:label="%activityLabel%"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
android:launchMode="singleTask">
|
||||
<!-- Tell NativeActivity the name of our .so -->
|
||||
<meta-data android:name="android.app.lib_name" android:value="%libNameValue%" />
|
||||
|
||||
Reference in New Issue
Block a user