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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:36:24+00:00 2026-05-24T22:36:24+00:00

I have a quick question. Im currently using bitmaps that get drawn above a

  • 0

I have a quick question. Im currently using bitmaps that get drawn above a dynamic moving object on screen and when a user clicks them Im using some custom code to open a view with a registered onclick. Instead of using the code we came up with I was wondering if its possible just to replace the bitmap with an imageView.

Will that work? or should I just stick it out and continue to build on the custom class Ive built. After looking at requirements it became apparent to me that an imageview would have all the built in functionality that I would need to do what I want. Or is there a better view class that would work for a dynamically moving view on the screen that moves.

  • 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-24T22:36:26+00:00Added an answer on May 24, 2026 at 10:36 pm

    You could use animations for moving views.

    example:

    AnimationSet set = new AnimationSet(true);
    
    Animation animation = new AlphaAnimation(0.0f, 1.0f);
    animation.setDuration(100);
    set.addAnimation(animation);
    
    animation = new TranslateAnimation(Animation.RELATIVE_TO_SELF,
            -1.0f, Animation.RELATIVE_TO_SELF, 0.0f,
            Animation.RELATIVE_TO_SELF, 0.0f,
            Animation.RELATIVE_TO_SELF, 0.0f);
    animation.setDuration(1500);
    set.addAnimation(animation);
    
    LayoutAnimationController controller = new LayoutAnimationController(set, 0.25f);
    
    yourView.setLayoutAnimation(controller);
    controller.start();
    

    Or in the custom view’s onDraw, manipulate the canvas.

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

Sidebar

Related Questions

I have a quick question about using logical operators in an if statement. Currently
I have a quick question about the two examples below. Currently I am using
im currently learning stacks in java and have a quick question. what will the
Hey guys quick question, I currently have an insert statement $query= INSERT into new_mail
I just have a quick question about how to get the length of a
Quick question... I have a query that checks for duplicates that looks like this:
Just a quick pre-emptive question before we start to seriously investigate using Lucene. Currently
Just a quick question... I currently have the following jQuery code with a selector
I have a quick question. I am using a custom view as a callout
i am implementing my first GWT application currently, i just have a quick question

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.