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

  • Home
  • SEARCH
  • 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 7540541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:40:16+00:00 2026-05-30T07:40:16+00:00

Having a minor problem, I’m trying to create an about us dialog box by

  • 0

Having a minor problem, I’m trying to create an “about us” dialog box by using MenuInflater and Theme.Dialog . i want this to show on top of the currently running layout.

But when i run it it basically shuts the program down and the dialog box appears as a new window.[Printscrren]: https://i.stack.imgur.com/JQcpm.jpg Hopefully someone understands what i mean.

public boolean onOptionsItemSelected(MenuItem item) {
    // TODO Auto-generated method stub
    switch(item.getItemId()){
    case R.id.aboutUs:

        Intent i = new Intent("fredkr.memrly.ABOUT");
        startActivity(i);
        break;
    case R.id.gameDetails:

        break;
    }
    return false;
}

//

         <activity
        android:name=".AboutUs"
        android:theme="@android:style/Theme.Dialog"

         >
        <intent-filter>
            <action android:name="fredkr.memrly.ABOUT" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
  • 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-05-30T07:40:17+00:00Added an answer on May 30, 2026 at 7:40 am

    I think you want

    dialog = new Dialog(this,android.R.style.Theme_Dialog); // or whatever the theme is
    dialog.setContentView(R.layout.dialog); // the xml for the dialog
    dialog.show();
    

    you’re starting it as a new activity right now, which takes the place of the current one — doing it this way will keep the original activity

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

Sidebar

Related Questions

I am having an minor problem using sql server 2008. When I go for
I am having a minor problem with WCF service proxies where the message contains
I'm having some minor problems with some animations I'm trying to set up. I
This is a particularly annoying problem I'm having, and I can't be the only
I am having two minor problems in this code but i am unable to
I'm having the following problem. Imagine my mySQL table looks like this: id range
been a while since i used flash... the minor problem im having is that,
Im having this weird problem with creating Json dynamically.... for some reason this doesnt
I'm relatively new to Rails development and I'm having a minor associations problem. I'd
Just a minor problem with Arraylist . I want to sort a ArrayList<Client> by

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.