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 8878701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:46:34+00:00 2026-06-14T19:46:34+00:00

I am working on my android app and now i am in the process

  • 0

I am working on my android app and now i am in the process of creating app settings menu. I have created a menu but I want to display the menu at the top of the screen rather at the bottom so I am looking for some help.

Thanks in advance.

Ali

  • 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-14T19:46:35+00:00Added an answer on June 14, 2026 at 7:46 pm

    This is a tutorial for a quickAction Dialog, which you could use. – http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/

    To make a default android popup menu without any libraries use the following code.

    On the foutrh line, the layout that you specify is your menu layout (see below)

        public void showPopup(View v) {
        PopupMenu popup = new PopupMenu(this, v);
        MenuInflater inflater = popup.getMenuInflater();
        inflater.inflate(R.layout.menu, popup.getMenu());
        popup.show();
    }
    

    When you call this method, you need to do the following

        View p = (View)findViewById(R.id.view);
    showPopup(p);
    

    In this price of code, View p is the view at the location that you want to show the top corner of the menu. So if you happen to have a textview in the top corner, use that as the view to lodge your menu on.

    For more info on this look here – android menu code not working
    To override the menu button function do the following

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if ( keyCode == KeyEvent.KEYCODE_MENU ) {
            //Put the code for an action menu from the top here
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on an android app for a while now, and have
I am now working on an android app in which I need to display
I have been working on an Android app using Phonegap and now would like
Working on an Android app with FB 4.6, I would like to have the
I am working on an android app and have to use remote database for
I am working on one android app. I want to connect my local PC
I am working on an android app that uses google maps. now I would
I'm working on an android app and here i have few data objects (1000
I am working with an android project. Now i am creating a customized overlay
I have some contacts autocomplete and autosearch algorithm working for my android app. First

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.