S
S
supportitc2019-06-06 15:36:45
Android
supportitc, 2019-06-06 15:36:45

Android keyboard overlaps Activity Webview, how to auto resize?

Here is my manifest.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ru.pro.anonymouschat">

    <uses-permission android:name="android.permission.INTERNET" />


    <application

        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">


        <activity

            android:windowSoftInputMode="adjustResize"
            android:name=".MainActivity">


            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>



                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

For some reason, android:windowSoftInputMode="adjustResize" doesn't work?
An example of stopping a WebView with a keyboard ..
5cf9089cb9f5a552522064.png5cf908a22e679042268783.png
What to prescribe so that AutoResaize Activity works when the keyboard leaves?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question