1

In our app, We are using Firebase Auth Login ui and we have two options Sign in with Email and Sign in with Phone number. As we have to migrated to Android 15+, but android 15+ Action Bar overlapping the email field, Password field and Recovery email field in their respected screens of Login, Password and Recovery Password screen. If I use NoActionBar in Firebase from the theme then it works but enabled ActionBar not.

also true adding this also works with ActionBar

we have TargetSdk 35, for Firebase Auth ui. we are getting issues, is this good to go with true even after 31 Aug 2025 which is last date from the google.

Here is my style for firebase

private fun firebaseSignIn() {
    val providers = arrayListOf(
        AuthUI.IdpConfig.EmailBuilder().build(),
        AuthUI.IdpConfig.GoogleBuilder().build(),
        AuthUI.IdpConfig.PhoneBuilder().build())

    // Create and launch sign-in intent
    startActivityForResult(
        AuthUI.getInstance()
            .createSignInIntentBuilder()
            .setAvailableProviders(providers)
            .setTheme(R.style.FirebaseUITheme)
            .build(),
        FIREBASE_SIGN_IN)
}

<style name="FirebaseUITheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
    <item name="colorPrimary">@color/app_green</item>
    <item name="android:statusBarColor">@color/transparent</item>
    <item name="android:windowLightStatusBar">true</item> <!-- Dark icons -->
    <item name="android:windowActionBarOverlay">true</item>
    <item name="android:windowTranslucentStatus">false</item>
    <item name="android:windowTranslucentNavigation">false</item>
    <item name="android:fitsSystemWindows">false</item>

    <!--OptOutEdgeToEdgeEnforcement-->
    <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>

</style>

making true also not working

2
  • 1
    So it's a UI issue rather than a Firebase one, right? Commented Aug 13 at 2:43
  • no, Firebase UI distorted in Android 15+ devices for others it's working fine Alex Mamo Commented Aug 13 at 10:13

1 Answer 1

0

Try using

     <item name="android:fitsSystemWindows">true</item> 
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.