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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:27:35+00:00 2026-06-02T02:27:35+00:00

I need to implement user popup dialogs, but they don’t look like standard. I

  • 0

I need to implement user popup dialogs, but they don’t look like standard. I guess, there’s a way of implementing custom popups by means of Android’s functionality (custom dialogs), but is it possible to decorate them ?
Yet it might not be the best solution for this problem – should I try something else like hidden layouts ?

Thank you.

  • 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-02T02:27:37+00:00Added an answer on June 2, 2026 at 2:27 am

    Yes you can change your Dialog box as you want.You can do this by creating a custom dialog box.
    Step1. Create a style in String file in res

     <style name="myQuitDialog" parent="android:Theme.Dialog"> 
       <item name="android:gravity">center_horizontal</item>
    
        </style>  
    

    Step2. Create the xml file in layouts

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/layout_quit"
                  android:orientation="horizontal"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:background="@drawable/image which u want to show"
     >
    </RelativeLayout>
    

    Step3. Write code of custom dialog box in src

    class Custom_Dialog extends Dialog {
    
        protected Custom_Dialog(Context context, int theme) {
            super(context, theme);
            // TODO Auto-generated constructor stub
        }
    
        private void show_alert() {
            final Custom_Dialog alertbox = new Custom_Dialog(this, R.style.myQuitDialog);
            Window window = alertbox.getWindow();
            window.setBackgroundDrawableResource(android.R.color.transparent);
            window.requestFeature(window.FEATURE_NO_TITLE);
    
            alertbox.show(); 
            alertbox.setCancelable(true);
            alertbox.setCanceledOnTouchOutside(true);
            alertbox.dismiss();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to implement the rate tha app popup when user every 5th time
I know nothing about PHP, but in my application I need to implement user
I need to implement a view where I need the user to answer several
I need to implement 'graphing paper' in an iPhone app. The user should be
I need to implement Online Help in my Java Web Project. For Example User
I need to implement behavior of my UIViewController subclass like in standart iPod.app: when
There are two numbers constantly displayed in my UI. I need the user to
I am creating a custom photography CMS system and need to implement a user
I know the standard answer for anyone trying to implement user authentication is to
I need to implement a tooltip with a time delay, say, when user point

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.