Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9111195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:26:52+00:00 2026-06-17T03:26:52+00:00

This source showed DialogFragment created new Fragment and blocked all screen ( FragmentActivity ).

  • 0

This source showed DialogFragment created new Fragment and blocked all screen (FragmentActivity). I need to add a Dialog in the Fragment so that when I can scroll the screen and the DialogFragment will not interfere. Current code:

FragmentManager fm = fa.getSupportFragmentManager();
        FragmentTransaction ft = fm.beginTransaction();
            // create dlg fragment
            DialogFragment fragment = new DialogFragment();
            // show the dialog.
            fragment.show(fm, "android:switcher:888889:1"); // "android:switcher:888889:1" - existing fragment!

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:26:53+00:00Added an answer on June 17, 2026 at 3:26 am

    i need to add Dialog in the “fragment” Then I can scroll the screen
    and FragmentDialog will not interfere

    A normal DialogFragment(or normal Dialog) will not work for what you want. Insted you could make use of nested Fragments. More precisely you’ll need to modify your current Fragment‘s view from the ViewPager to wrap their current layout with a RelativeLayout or a FrameLayout along with adding another container(a FrameLayout) on top of the content.

    That extra FrameLayout on top will be used as a Dialog holder(so the Dialog will appear as floating on top of the normal content) and to this container you’ll add a Fragment to represent the Dialog(a normal Fragment, not a DialogFragment). You’ll then be able to swipe the ViewPager even with your fake Dialog showing.

    Also, keep in mind that swiping the ViewPager although a Dialog is showing on the screen, might be counter intuitive for the user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this source code from 2001 that I would like to compile. It
So we have a photo like this (source: vkontakte.ru ) How to detect that
I have a 3 tables that look like this: (source: InsomniacGeek.com ) On the
I need basically just a table view that showed recent tweets from either a
Looking through Backbones source I noticed that classes are defined like this: var Model
Consider this source: public partial class FormTest : Form { private Test test {
like this (source: photoshopessentials.com )
i'm studying this source base . Basically this is an Anim server client for
I have this source code: idx=0 b=plt.psd(dOD[:,idx],Fs=self.fs,NFFT=512) B=np.zeros((2*len(self.Chan),len(b[0]))) B[idx,:]=20*log10(b[0]) c=plt.psd(dOD_filt[:,idx],Fs=self.fs,NFFT=512) C=np.zeros((2*len(self.Chan),len(b[0]))) C[idx,:]=20*log10(c[0]) for idx
I'm using a MediaElement with this source: http://origin-community.ministryofsound.com/asx/radio/mosRadio.asx When I open it with Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.