Skip to main content
edited tags
Source Link
Doug Stevenson
  • 320.5k
  • 37
  • 458
  • 474

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.

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

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.

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

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

Source Link

Firebase Auth (default) UI Action bar Overlapping the email/phone fields

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.

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

created from staging ground