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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:07:12+00:00 2026-06-10T03:07:12+00:00

There is a tutorial on Android Developer website which guides you on how to

  • 0

There is a tutorial on Android Developer website which guides you on how to create a custom notification.It works great on most of the android devices however some branded phone of motorola (Motorola Electrify) have their own dismiss button.I guess that this firmware/ROM of android overrides the default XML layout of the default notification. thus, a custom notification does not have this dismiss button.

enter image description here

Is there an easy way to keep this button? or the only way is to check whether that this device have such a button and if so add one?

  • 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-10T03:07:13+00:00Added an answer on June 10, 2026 at 3:07 am

    Is there an easy way to keep this button?

    By definition, no, since you did not put the button there in the first place.

    or the only way is to check whether that this device have such a button

    I have no idea how you would do that.

    and if so add one?

    I have no idea how you would do that either. For devices that lack per-Notification dismiss options (Android 1.x/2.x), you cannot have a button of your own. You can always have your Notification be set for auto-cancel (e.g., setAutoCancel(true) with Notification.Builder), in which case tapping anywhere on the Notification will dismiss it.

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

Sidebar

Related Questions

I'm following this tutorial: http://developer.android.com/training/basics/firstapp/running-app.html#Emulator In it there is a simple code for a
I was reading the Gallery View tutorial : http://developer.android.com/resources/tutorials/views/hello-gallery.html . Is there anyway I
On the Android developers website, there is a Notepad tutorial and I found a
if yes, is there a tutorial available for creating an android app using the
Is there a tutorial available which explains how to scan for available wifi networks
So I followed this tutorial from Google: http://developer.android.com/resources/tutorials/opengl/opengl-es20.html The triangle is supposed to rotate
I've been looking at the notepad tutorial from the android developer site, I'm sorta
The tutoriel in question is http://developer.android.com/resources/tutorials/views/hello-gridview.html The Tutorial asks that you 1- Create a
On the Android developers website, there is code regarding Android Bluetooth connectivity and such.
I'm looking at the Notepad tutorial from the Android developer's site. I have a

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.