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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:42:50+00:00 2026-06-02T23:42:50+00:00

I want to have an onTouch effect like the Home Button on Android 3.0+.

  • 0

I want to have an onTouch effect like the Home Button on Android 3.0+.

Is there a property to do so easily?
Or I have to do it all myself? And how?

Thanks!

UPDATE:
Here is the screenshot: https://i.stack.imgur.com/QrCrd.jpg
I would like to have the same blue, circle, fade-out effect.

  • 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-02T23:42:52+00:00Added an answer on June 2, 2026 at 11:42 pm

    What you’re talking about is called the Navigation Bar. The animation and circle effect used when you touch a button are from a custom class that’s extending ImageView.

    You can view the full source for that class here.

    As far as the Holo blue color goes, you can visit the Android Design Guidelines – Color section to look at all of the colors used in Ice Cream Sandwich. Move your mouse over a specific color in the palette to learn the corresponding hex value.

    I’ll leave this example here in case you decide not to use the KeyButtonView class.

    Holo selector example:

    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_mediumAnimTime">
    
    <item android:drawable="@color/holo_blue_dark" android:state_pressed="true"/>
    <item android:drawable="@color/holo_blue_dark" android:state_enabled="true" android:state_focused="true"/>
    <item android:drawable="@color/transparent"/>
    
    </selector>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

want to have a Hyperlink-Button in a gridView in which I can display a
I want to have my site urls look like http://example.com/place/info?var=info&morevars=ifneeded Place and info are
I have a layout displayed on a button click.I want to hide that layout
i am jsgrid i want have implemented the add row button. when i click
I have a screen filled with buttons, but want the onTouch-method to use the
i am working on android. i am creating a login button. i want that
I have a View class with some clickable bitmaps,in the onTouch method,i want to
I have a view , my view contains gallery and two button.Here i want
I want to create an event to change what my image button looks like,
(Android 3.2) I have a TableLayout with 9 buttons. I want to know when

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.