Fix inset in login activity

This commit is contained in:
Ritika Pahwa 2025-10-22 16:30:50 +05:30
parent c09365737f
commit 6cb940a1f1
2 changed files with 2 additions and 1 deletions

View file

@ -84,6 +84,7 @@
android:parentActivityName=".customselector.ui.selector.CustomSelectorActivity" />
<activity
android:name=".auth.LoginActivity"
android:windowSoftInputMode="adjustPan"
android:exported="true">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />

View file

@ -89,7 +89,7 @@ class LoginActivity : AccountAuthenticatorActivity() {
binding = ActivityLoginBinding.inflate(layoutInflater)
applyEdgeToEdgeAllInsets(binding!!.root)
binding?.aboutPrivacyPolicy?.handleKeyboardInsets()
binding!!.root.handleKeyboardInsets()
with(binding!!) {
setContentView(root)