Closed Scorpionstvo closed 2 years ago
Hello @Scorpionstvo
Add this line to your activity AndroidManifest.xml
android:windowSoftInputMode="adjustResize|adjustNothing"
Привет@Scorpionstvo Добавьте эту строку в свою деятельность
AndroidManifest.xml
android:windowSoftInputMode="adjustResize|adjustNothing"
Unfortunately, it didn't help
Can you send a sample project of that? i'll fix it and send it back to you
Can you send a sample project of that? i'll fix it and send it back to you
https://github.com/Scorpionstvo/Emoji.git - here is my sample. Is it possible, that I'm doing something wrong? Thank you very much for helping me!
Hello again,
i just added android:windowSoftInputMode="adjustResize|adjustNothing"
and it works fine!
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="garipolesya.com.example.emoji">
<application
android:allowBackup="true"
android:windowSoftInputMode="adjustResize|adjustNothing"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Emoji"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize|adjustNothing">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Oh, I thought that adding the windowSoftInputMode attribute to the manifest on a application level applies this feature to all activities. Now it works. Thank you, your library is amazing!
Please, help me solve this problem
My layout:
` <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/cl_chat" android:layout_width="match_parent" android:layout_height="match_parent">
</androidx.constraintlayout.widget.ConstraintLayout>`
My code: ` AXEmojiManager.install(requireContext(), AXGoogleEmojiProvider(requireContext())) val emojiView = AXEmojiView(requireContext()) emojiView.editText = binding.chatInput binding.layout.initPopupView(emojiView)
``