[android-developers] animation on image view on grid view

2013-10-22 Thread Amit Mangal
Hi team i am having a grid view with 2 coloums and each item in grid view having one image and 2 textview below the image. i have added one button over each image and after clicking on button i want that image should scale and move down to bottom tab. like it should appear image drop down from its

[android-developers] animation scale from 0.0 on an invisible View starts at its full size

2013-01-07 Thread Matteo Mazza
here's the issue I am experiencing: if I animate fromAlpha=0 toAlpha=1 on an invisible view all is good, I get the animation as expected. While if I animate fromXScale=0.0 fromYScale=0.0 toXScale=1.0 toYScale=1.0 on an invisible view I can see in the first frame that the item is shown at its

[android-developers] Animation Tool

2012-10-16 Thread raveesh L
Hi All, Is android providing any tools for 3D animation? like page flipper, turning book pages animation etc., Please help me friends. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Animation moving image in random

2012-09-07 Thread Haris
For my application I need to move my image randomly throughout the screen using motion sensor The motion sensor part completed. So as the next step I need to move an arrow throughout the screen. I searched in internet a lotPlease help.. thanks in advance -- You

Re: [android-developers] Animation moving image in random

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 5:49 AM, Haris haris...@gmail.com wrote: So as the next step I need to move an arrow throughout the screen. I searched in internet a lotPlease help.. Help with what? You provided almost no information. What *exactly* do you need help with?

[android-developers] Animation

2012-07-25 Thread Meena Rengarajan
How do i wanna do pop up in animation can anyone suggest me ? please .. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Animation

2012-07-25 Thread TreKing
On Wed, Jul 25, 2012 at 11:28 AM, Meena Rengarajan meenasoft...@gmail.comwrote: How do i wanna do pop up in animation can anyone suggest me ? please .. First explain what pop up in animation means.

Re: [android-developers] Animation

2012-07-25 Thread Meena Rengarajan
My task is like pop up and alert button using animation in Android . I am very new to Android . I do not how to do .. please can anyone help me atleast suggest me a idea, i can do it ! On Wed, Jul 25, 2012 at 10:01 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 25, 2012 at 11:28 AM, Meena

Re: [android-developers] Animation

2012-07-25 Thread TreKing
On Wed, Jul 25, 2012 at 11:35 AM, Meena Rengarajan meenasoft...@gmail.comwrote: My task is like pop up and alert button using animation in Android . Using animation for what? I am very new to Android . I do not how to do .. please can anyone help me atleast suggest me a idea, i can do it

[android-developers] Animation overlay over camera preview

2012-06-30 Thread Yamanoor Sai Ram
I would like to create an animation over a camera preview. * *My camera preview is a derivative of the following examplehttps://github.com/commonsguy/cw-advandroid/blob/master/Camera/Preview/src/com/commonsware/android/camera/PreviewDemo.java . I have attached an example of the layout of my app.

[android-developers] Animation Problem

2012-06-07 Thread abhijeet tomar
Hello Developers, I have done frame Animation suceessfully and the frame images comes from Drawable folder . Actually problem is that...images are alot then we have not store in Drawable folder..thats why images will be stored in SdCard... Problem is that ,How to read images from sd card and set

[android-developers] Animation...

2012-06-07 Thread abhijeet tomar
Hello Developers, I have done frame Animation suceessfully and the frame images comes from Drawable folder . Actually problem is that...images are alot then we have not store in Drawable folder..thats why images will be stored in SdCard... Problem is that ,How to read images from sd card and set

Re: [android-developers] Animation...

2012-06-07 Thread Narendra Singh Rathore
On Thu, Jun 7, 2012 at 3:01 PM, abhijeet tomar abhijeet...@gmail.comwrote: Hello Developers, I have done frame Animation suceessfully and the frame images comes from Drawable folder . Actually problem is that...images are alot then we have not store in Drawable folder..thats why images will

Re: [android-developers] Animation Problem

2012-06-07 Thread Narendra Singh Rathore
On Thu, Jun 7, 2012 at 1:19 PM, abhijeet tomar abhijeet...@gmail.comwrote: Hello Developers, I have done frame Animation suceessfully and the frame images comes from Drawable folder . Actually problem is that...images are alot then we have not store in Drawable folder..thats why images will

[android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread btai...@gmail.com
I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and I'm pretty sure that code is not incorrect. Size of Image animated is 67.5 kb. Device with 800x480

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 6:42 AM, btai...@gmail.com btai...@gmail.com wrote: I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and TransAnimation with RelativeLayout in code and  I'm pretty sure that

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Dianne Hackborn
Have you made sure hardware accelerated drawing is enabled? On Thu, Apr 5, 2012 at 3:42 AM, btai...@gmail.com btai...@gmail.com wrote: I've faced problem that animation of view is too slow and with Galaxy Note which has 1280x800 and 320dpi display. Actually, I use ScaleAnimation and

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Mark Murphy
On Thu, Apr 5, 2012 at 4:57 PM, Dianne Hackborn hack...@android.com wrote: Have you made sure hardware accelerated drawing is enabled? AFAIK, the Galaxy Note runs 2.3.x at the moment, not 3.0. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Animation is too slow with xhdpi device.

2012-04-05 Thread Dianne Hackborn
Ah, I missed that this is the note. If this is a Tegra 3 on a 1280x800 screen then there is very little rendering complexity you can have to keep full-screen drawing going at 60fps. For example I think getting into a situation where a large bitmap is scaling will probably kill you. Keep in

[android-developers] animation

2012-03-21 Thread Indraneel Kulkarni
hey all i have to create a basic animation. i want to make a stick figure walk. how do i do it? i have no clue. please help! thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] animation becomes choppy or appears to not work when placed on top of LayerDrawable

2012-02-21 Thread Aaron
I have a LayerDrawable that I am creating in code because I have to do some color filtering to individual components of the layered image. On top of the layered image I have 2 ImageViews on top of one another and one is set to invisible. When the visible ImageView is clicked it rotates to 90 and

[android-developers] animation for splash screen

2012-01-30 Thread aparna rani
hii all i am implementing splash screen for my app. i just implement display sometime and go to next activity. but i want to show any animation show my activity/ please give me idea how to do that. thanking you.. -- You received this message because you are subscribed to the

Re: [android-developers] animation for splash screen

2012-01-30 Thread Ratheesh Valamchuzhy
use fade_in animation in android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Animation on a set of ImageViews

2012-01-16 Thread MikeMike
I have been trying to find the answer to this question for 3 days now. I am developing a game. And as one progresses in levels, I want to AlphAnimate each of my imageviews. So I have an array list of imageviews. For iterator i current_game.next() { AlphaAnimation anim = new

[android-developers] Animation Is repeating...why?

2012-01-16 Thread MikeMike
I am trying to get my imageView animations to play serially. But when onAnimationEnd the original one somehow replays : private void drawCurrentGame() { final LinkedListImageView animation_queue = (LinkedListImageView) current_game.clone(); ImageView working_view;

Re: [android-developers] Animation in ExpandableListView

2012-01-13 Thread TreKing
On Tue, Jan 10, 2012 at 3:40 AM, dileep dileepk...@gmail.com wrote: How can i add animation effect in subitems of an ExpandableListView RTFM, try something, read this http://www.catb.org/~esr/faqs/smart-questions.html, then ask again.

[android-developers] Animation in ExpandableListView

2012-01-10 Thread dileep
HI, How can i add animation effect in subitems of an ExpandableListView thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] animation while mutation hierarchy

2012-01-08 Thread satahippy
is it possible? just, only main thread can change hierarchy, but the animation also suggest mutation heirarchy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Animation Trail while using Rotate Animation

2011-12-29 Thread sunil bhatia
Hi, I am trying to rotate a framelayout at orientation change. Layout is getting rotated but it shows trail on device , Like some spots remain on the screen while roatating. Can anyone help in this regard, How to remove those animation trails? Any help on this would be highly appreciated. Thanks

[android-developers] Animation doesn't start again after several times of running

2011-12-21 Thread AlexBonel
Hello everyone. I make custom AdapterView which items should be scrolled in two directions (from bottom left to top rigth and conversely). During scrolling I use TranslateAnimation and AlphaAnimation. Here is the steps of scrolling: 1) Top (Bottom) View starts to hidem using AlphaAnimation 2) I

[android-developers] Animation effect from button?

2011-12-20 Thread Duygu Kahraman
It can be basic but i didnt do before. I have a button.And i add a window from button.But i want to this window color lightening like a alarm effect(Means black window will turn red smooth effect). How can i do that? I must use animation or a can do it this way. THX. Duygu Kahraman -- You

Re: [android-developers] Animation effect from button?

2011-12-20 Thread TreKing
On Tue, Dec 20, 2011 at 9:17 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote: How can i do that? Your question is not very clear. Have you reviewed the documentation on Animation? What have you tried?

[android-developers] Animation in webview

2011-11-28 Thread Alex Georgantas
If anyone can help me with this I will be very happy. I have an application that uses webview. The webview loads a url and I have used the Google tutorial to overide all the other links that I want to open with webview also. I have create an anim in res and a slide_right xml and so far so good. I

[android-developers] Animation not repeat

2011-09-05 Thread Hadas Mobile
Bcd Hi, I write animation, but- even that I use with AnimationDrawable.addFrame(mDrawable, 1000); the animation not repeat. What it can be??? Thanks Hadas Mobile -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Animation not repeat

2011-09-05 Thread Appaholics
Would you mind posting more of your code? Thanks On Mon, Sep 5, 2011 at 8:15 PM, Hadas Mobile hadas.mob...@gmail.com wrote: Bcd Hi, I write animation, but- even that I use with AnimationDrawable.addFrame(mDrawable, 1000); the animation not repeat. What it can be??? Thanks Hadas Mobile

[android-developers] Animation + Touch + Rotate bitmap

2011-08-18 Thread fala70
Hi, I need to make an animation to rotate a bitmap, using touch. The user can do only the rotation of bitmap, when the touch is pressed and moved the bitmap image go rotate animation, follow the finger. How can I do it ? thanks -- You received this message because you are subscribed to the

[android-developers] Animation not displaying in onBackPressed

2011-08-11 Thread Stefan Alder
I'm trying to slide a custom modal view off the screen with a translation animation when the user presses the hardware back button. I call the panel.setAnimation method within onBackPressed, but while the method executes, the animation is not visible. Only until I touch the display does it

Re: [android-developers] Animation not displaying in onBackPressed

2011-08-11 Thread Appaholics
Try calling invalidate() on the view you are using so that onDraw is called again. Thanks On Thu, Aug 11, 2011 at 12:17 PM, Stefan Alder twigbra...@gmail.com wrote: I'm trying to slide a custom modal view off the screen with a translation animation when the user presses the hardware back

Re: [android-developers] Animation not displaying in onBackPressed

2011-08-11 Thread Stefan Alder
That was it. Thanks. On Thu, Aug 11, 2011 at 8:01 AM, Appaholics raghavs...@appaholics.in wrote: Try calling invalidate() on the view you are using so that onDraw is called again. Thanks On Thu, Aug 11, 2011 at 12:17 PM, Stefan Alder twigbra...@gmail.com wrote: I'm trying to slide a custom

[android-developers] Animation

2011-06-10 Thread Neha
Hii all, I tried a lot to animate an image without clicking on the image.but i didn't get the result. send me your suggestions. below i mentioned my code * project.java* final ImageView imageView = (ImageView) findViewById(R.id.blankImageView); final

[android-developers] Animation

2011-06-09 Thread Neha
Can anyone help me in creating animated image in frame animation type. Thanks in advance Neha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Animation

2011-06-09 Thread TreKing
On Thu, Jun 9, 2011 at 7:02 AM, Neha cibin.p.oom...@gmail.com wrote: Can anyone help me in creating animated image in frame animation type. http://www.catb.org/~esr/faqs/smart-questions.html -

Re: [android-developers] Animation Leaving Trail Using AnimatorSet

2011-06-04 Thread Craig
Thank you for the offer, but it is part of a larger app that is being made for my employer, which I cannot distribute. If it comes to it though, perhaps I can create a small standalone app with just the animation code in it. -- You received this message because you are subscribed to the

[android-developers] Animation Leaving Trail Using AnimatorSet

2011-06-03 Thread Craig
I am using the new honeycomb animation api and am having a problem with animated ImageView objects leaving a trail when animated. The app downloads images via http, makes and ImageView and adds that to a list view (which is in a fragment) and animates each one with its own AnimatorSet

Re: [android-developers] Animation Leaving Trail Using AnimatorSet

2011-06-03 Thread J Handal
I can try it in my Moto Xoom 3.1 using the last Animation Api? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Animation transition between activities in ActivityGroup?

2011-05-26 Thread imran ali
Hi, I am using ActivityGroup and in that i have been using activities, how can i animate activities at the time of setContentView(view)? Regards Imran ali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Animation transition between activities in ActivityGroup?

2011-05-26 Thread TreKing
On Thu, May 26, 2011 at 8:15 AM, imran ali imran...@gmail.com wrote: I am using ActivityGroup and in that i have been using activities, how can i animate activities at the time of setContentView(view)? Maybe this:

[android-developers] Animation of the videoView in Android 2.2 is not working

2011-05-19 Thread Shiva bhole
Dear all, I want to know how can we animate the video. I tried animating the Image using the ImageView and it happened very smoothly. But, when I try to animate the VideoView using the animation class, I am able to move the view only (can see a black screen moving) but our video is played in the

[android-developers] ANIMATION WITH BUTTON CLICK

2011-04-18 Thread Raghavaraju K
hi, I am new to android and I could nt able to solve this, I want to create a button and with the click of the button the animation should happen , whats the wrong with this , please help me with the sample code Help is always appreciated Thanks package com.transformation; //import

Re: [android-developers] Animation with only one view

2011-03-19 Thread Jeremy Cowgar
Wow, it's about time, but I finally got around to doing this. Thanks for the help Kostya, it worked just fine. Jeremy On Tue, Feb 22, 2011 at 7:23 AM, Kostya Vasilyev kmans...@gmail.com wrote: 22.02.2011 14:49, Jeremy Cowgar пишет: Can anyone point me in the right direction to make this type

[android-developers] Animation with only one view

2011-02-22 Thread Jeremy Cowgar
Hello,  I have a view that browses data with a large amount of numbers. When going to the previous or next record if you're not really paying attention it's possible to not detect that it actually moved because many times the numbers are very similar. I have added a page counter to the view

Re: [android-developers] Animation with only one view

2011-02-22 Thread Kostya Vasilyev
22.02.2011 14:49, Jeremy Cowgar пишет: Can anyone point me in the right direction to make this type of animation work correctly? Any type of transition will require at least two views - one to hold the old value, one for the new one. With this in mind, use a ViewFlipper with two identical

[android-developers] Animation on slide drawer

2011-01-10 Thread nikki
Hi Group I created a slide drawer for my application but it doesn't open smoothly as it get close. Is there any way i can add animation effect on opening of my slide drawer..?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Animation problem

2010-12-28 Thread iced
Hello, I'm new here and I don't know if this is the right place for my problem. Please excuse me if it's wrong. I want to create a scale animation where a view grows a bit from it's original size and then shrinks to it's old size. My XML file: ?xml version=1.0 encoding=utf-8? set

Re: [android-developers] Animation problem

2010-12-28 Thread John Lussmyer
You may want to set the setFillBefore and/or setFillAfter values. (one of them defaults to true, the other to false.) On Tue, Dec 28, 2010 at 3:21 PM, iced pascal-h...@t-online.de wrote: Hello, I'm new here and I don't know if this is the right place for my problem. Please excuse me if it's

[android-developers] Animation stops timer (newbie alert!)

2010-12-23 Thread CasaDelGato
I'm starting to play with doing some simple animations. I have one where I want a sound and animation to play every X seconds after a button is pressed. So I set it up like this: private ScheduledThreadPoolExecutor threadRunner = new ScheduledThreadPoolExecutor(

Re: [android-developers] Animation stops timer (newbie alert!)

2010-12-23 Thread Kostya Vasilyev
23.12.2010 19:08, CasaDelGato пишет: I must be doing something wrong with the animation, but I haven't been able to figure out what. You are calling an Android UI framework method from a background thread, and that's not allowed. The UI portion of the framework is not thread-safe, and the

Re: [android-developers] Animation stops timer (newbie alert!)

2010-12-23 Thread John Lussmyer
On Thu, Dec 23, 2010 at 8:31 AM, Kostya Vasilyev kmans...@gmail.com wrote: 23.12.2010 19:08, CasaDelGato пишет: I must be doing something wrong with the animation, but I haven't been able to figure out what. You are calling an Android UI framework method from a background thread, and

[android-developers] Animation won't repeat

2010-12-23 Thread John Lussmyer
Now, I have the problem that my animation won't repeat. It plays just once. My onCreate does this: testAnimation = AnimationUtils.loadAnimation(getBaseContext(), R.anim.testanim); testAnimation.setAnimationListener(mAnimationListener); testAnimation.setDuration(3000);

Re: [android-developers] Animation won't repeat

2010-12-23 Thread Mark Murphy
Try using: this instead of: getBaseContext() Also: -- Does your listener get called with onAnimationRepeat()? -- What is the animation? On Thu, Dec 23, 2010 at 3:37 PM, John Lussmyer johnlussm...@gmail.com wrote: Now, I have the problem that my animation won't repeat. It plays just once.

Re: [android-developers] Animation won't repeat

2010-12-23 Thread John Lussmyer
Using this instead of getBaseContext() made no difference. listener onAnimationRepeat() is never called. Very simple animation: set xmlns:android=http://schemas.android.com/apk/res/android; android:shareInterpolator=false translate

Re: [android-developers] Animation won't repeat

2010-12-23 Thread Mark Murphy
Try specifying the repeat (and maybe the right duration) in the XML instead of in Java. That should not make a difference, but it is at least worth a try. Otherwise, I see nothing obviously wrong. On Thu, Dec 23, 2010 at 3:47 PM, John Lussmyer johnlussm...@gmail.com wrote: Using this instead of

Re: [android-developers] Animation won't repeat

2010-12-23 Thread John Lussmyer
Now, that is interesting. Moving the repeatCount and repeatMode settings to the XML made it mostly work. Setting the Duration in the Java does properly override the setting in the XML. Setting Count and Mode does not. Also, the listeners onAnimationStart() is called exactly once.

Re: [android-developers] Animation won't repeat

2010-12-23 Thread John Lussmyer
onAnimationEnd() is called exactly once - when I do the testShape.clearAnimation() to stop it. On Thu, Dec 23, 2010 at 1:14 PM, John Lussmyer johnlussm...@gmail.comwrote: Now, that is interesting. Moving the repeatCount and repeatMode settings to the XML made it mostly work. Setting the

[android-developers] Animation in appWidget

2010-11-25 Thread Honest
hello, i have made a widget which display images from sd card and then navigate through it. Now i want to animate the image while i navigate through it.I need to achieve following animation. 1step : default galleryView motion 2step : perspective galleryView motion hope to hear soon from

[android-developers] Animation startOffset failing, 2.1 bug?

2010-10-25 Thread Cardy
Hi, I've taken some animation xml straight from the android docs, and as far as I can see, doesn't work on either my 2.1 update 1 emulator or my 2.1 update 1 Galaxy S device. Specifically, I'm trying to create an animation to pulsate a view (i.e. make it smaller then larger in one animation)

[android-developers] Animation List View Help!!!!

2010-10-24 Thread Dev Android
Hi all, Anyone has idea how to create animation from top to bottom for List View with increasing the height of each list item view ? Any Idea please share with us. Cheers! Dev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Animation loop

2010-09-16 Thread arnouf
Hi all, I created an animation in an xml file. I apply it on a textview like this : Animation anim = AnimationUtils.loadAnimation(this, R.anim.exit_about); anim.setRepeatMode(Animation.RESTART); anim.setRepeatCount(Animation.INFINITE); v.findViewById(R.id.global_about).startAnimation(anim); // v

[android-developers] Animation support different resolution rate?

2010-08-22 Thread CaryWang
I use Animation Translate in my application,my mobile phone resolution rate is 320*280,but In the 480*800 resolution rate don't support.I want ask I should how to do ? -- Cary -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Animation support different resolution rate?

2010-08-22 Thread Kostya Vasilyev
Cary, Redo your layouts using device-independent units (dp) instead of pixels if you use them, and use % values in animation definitions (e.g. animate -100% to 0% or some such). -- Kostya 22.08.2010 19:23, CaryWang пишет: I use Animation Translate in my application,my mobile phone

Re: [android-developers] Animation support different resolution rate?

2010-08-22 Thread CaryWang
I use % in animation xml translate android:fromYDelta=0% android:toYDelta=-100% android:duration=5000 / in 320*280 ok.but 480*800.. 2010/8/23 Kostya Vasilyev kmans...@gmail.com Cary, Redo your layouts using device-independent units (dp) instead of pixels if you use them, and use %

[android-developers] animation is starting with a large black screen....

2010-08-15 Thread sdphil
i am trying to get a slide down animation to work, and it seems to work except that it starts with a big black screen instead of the screen that was there. so I have layout1 and layout2. when I start the animation using ViewFlipper.showNext it puts a big black background over layout1, and then

[android-developers] Animation doubt

2010-07-16 Thread Sebastián Treu
Hi all, I want to slide down a RelativeLayout filled with information. I have written this animation: ?xml version=1.0 encoding=utf-8? translate xmlns:android=http://schemas.android.com/apk/res/android; android:fromYDelta=0 android:toYDelta=87% android:duration=350

[android-developers] Animation and flickering - a possible solution

2010-07-14 Thread avigadl
I have a code that after a TraslateAnimation() ends the layout gets recomputed (by using AnimationListener). This cause to flickering effect. I suspect that this problem happens since the onAnimationEnd event is called before the drawing of the last frame. My solution was to postpone the layout

[android-developers] Animation behavior

2010-06-20 Thread gymshoe
I want to perform animations within a view. However, the behavior of the animations does not seem consistent depending on the sequence, and I don't understand why. This example performs a simple fade out of the image: XML: set xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Animation not start immediately when the target view is out of window

2010-06-15 Thread funnything
Hi. When I apply some animation to the view, which is out of window, the animation not start immediately. And then, I scroll the screen to show the animation target view, the animation will start. I hope to the animation will start immediately when it apply. Any ideas? Bellow is sample code. Thank

Re: [android-developers] Animation not start immediately when the target view is out of window

2010-06-15 Thread Romain Guy
When you set the animation on your View, set the start time of the Animation to AnimationUtils.currentAnimationTimeMillis(). Otherwise, the start time will be the first time your View is drawn, which is the first time your View appears on screen. On Thu, Jun 10, 2010 at 6:55 AM, funnything

[android-developers] Animation on element in a custom view

2010-06-01 Thread swgillan
Hello, I have been trying to take one of the elements that I am drawing in a custom View class and apply an animation on it. The custom view itself is essentially a background image that I draw and some overlay images that I am also drawing in the onDraw method using canvas.drawBitmap(). It is

[android-developers] Animation in List, When contents are more

2010-05-14 Thread Nithin
Hi, Like in list, if contents are more, it will display the contents by animation, slowly will come and when the content is complete. It will stop for a moment and start again. Can anybody tell how to implement that. I tried with translate animation. But I can't stop for the moment after showing

[android-developers] Animation using several drawables

2010-05-14 Thread Michael
Hi, I am a little stuck with exactly what approach to take with an animation problem. I have several bitmap resource drawables, a face with no eyes or mouth, a mouth and eyes. I want to be able to build these drawables up to make the face and then use tween animations on them to animated the

[android-developers] Animation for Bitmap

2010-04-13 Thread Sebastian
Hi list i'm developing a small game and for that purpose i extended SurfaceView and override the onDraw() method to draw Bitmap objects on the x/y coordinates i like: public void onDraw(Canvas canvas) { fCanvas = canvas; fCanvas.drawColor(Color.rgb(0, 0, 255));

[android-developers] Animation and ListView

2010-04-13 Thread Sebastian Müller
Hi Im using a listview to display some self defined objects. this works great. then i wrote an animation to smoothly slide down the list: *Code:* public static void downFromTopAnimation(ViewGroup panel, Context ctx) { AnimationSet set = new AnimationSet(true); Animation animation = new

[android-developers] Animation Jerking when background operation running

2010-03-30 Thread Nithin
Hi, In the background(seperate thread) when extensive operations are going, like create database and parsing, in the UI thread I am displaying an animation. But its not smooth, the view is jerking. How can I remove the jerking and make the animation smooth. Nithin -- You received this message

[android-developers] Animation from AppWidget to Activity

2010-03-22 Thread Aditya D
Is it possible to have an animation between the AppWidget and the activity which is called with pending intent from AppWidget? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Animation fillAfter(true) and click locations

2010-02-28 Thread Loki117
Evening all, I had a quick questions around animations and what is going on. So I have buttons in a vertical row down the side of the screen. Upon clicking the last button the row animates and slides out at the top of the screen. This works HOWEVER when the user clicks the same button again (the

Re: [android-developers] Animation fillAfter(true) and click locations

2010-02-28 Thread Mark Murphy
Loki117 wrote: I had a quick questions around animations and what is going on. So I have buttons in a vertical row down the side of the screen. Upon clicking the last button the row animates and slides out at the top of the screen. This works HOWEVER when the user clicks the same button again

[android-developers] animation fillAfter question

2010-01-26 Thread Susan
Animation fill* attributes confuse me. The document is simple. For example: layout xml: TextView android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=0px

[android-developers] Animation using Matrix + Camera looks dirty...

2009-12-21 Thread Nivek
Hello, I have been reusing Rotate3dAnimation.java from the ApiDemo in my own application to apply a transition between imageviews in a viewflipper. My problem is that while the animation runs, some frames leave a few 1px vertical lines on the screen black background... (It happens on both the

[android-developers] Animation of View size

2009-12-15 Thread hoha
Hi all. I've noticed that animation framework is based on matrix transformations (with additions for alpha). Did I get it right that it's impossible to animate an arbitrary property (e.g size) of my view with android.animation.* tools? If so, can you please give me some hints how size animations

[android-developers] animation between two activities

2009-12-02 Thread tstanly
hi all, I design a rotate animation when activity 1 ends, and then start activity 2. so my code is: ===when activity 1 ends function=== rotate_animation(); //first call up the animation Intent i=new Intent(); i.setClass(activity1.this,activity2.class); startActivity(i);

Re: [android-developers] animation between two activities

2009-12-02 Thread Dianne Hackborn
My suggestion would be -- generally don't do this. Animations during activity transitions are done by the window manager, on their windows. Prior to 2.0, these were turned off by default (though could be turned on by the user), and as of 2.0 they are turned on by default. Trying to create your

[android-developers] Animation is slow?

2009-10-22 Thread Mark Wyszomierski
Hi, I'm trying to perform a simple animation, but it seems quite choppy. This is it: Animation anim = new TranslateAnimation(0,0,-50,0); anim.setDuration(500); anim.setInterpolator(new LinearInterpolator()); myLinearLayout.setAnimation(anim); the animation does what it's supposed to

[android-developers] Animation between 2 activities?

2009-10-16 Thread Marc Reichelt
Hi there! I program on an application where different views are arranged horizontally, each view of screen size. The user should be able to switch between these views using his finger. I first used the ViewFlipper, which was great for simple layouts, but which is *way* too slow if the layouts of

[android-developers] Animation not working as I want

2009-10-11 Thread fhucho
Hi, I have a LinearLayout, with a text and a button, which I want to show and hide (using translate animation) sometimes. As for now I show/hide it by setVisibility() to View.GONE or View.VISIBLE. To set the translate animation I do this: myLinearLayout.setLayoutAnimation(new

[android-developers] animation-less android menus

2009-10-06 Thread Gilles TALIS
I am planning to use android on a device with slow refresh rate display. I was wondering whether it was possible to bring up the apps menu without sliding the apps menu pull-tab, just with a long-press menu button for instance. Ideally, this long press action would directly show the apps menu

[android-developers] Animation Maker and Viewer ?

2009-09-30 Thread ginnie
Hey.. I needed some insight on this issue : ( sorry if it sounds trivial :) ) Is there a way to make and/or run an animation on android ? (animations as in flash / powerpoint / applet or any thing else.. ) does webview support downloading and viewing any animation? i intend to use some kind

[android-developers] Animation

2009-09-21 Thread HVT
Hello All, I'm facing a problem while clicking the objects while they animate. Please help me identify the click on the objects while they are animating. My requirement is to randomly move a ball around the screen and the user should be able to click this ball any time. Also this ball changes

[android-developers] Animation of a View

2009-09-09 Thread Eddified
I understand that animating a View using startAnimation() with a TranslateAnimation object really just applies a transform on the canvas that is being drawn on. In my case, the problems with this are: a) sometimes I need to call bringChildToFront() (for a different View) on the ViewGroup during

[android-developers] Animation on widgets

2009-08-27 Thread Daniel
In my app I have a EditText widget. Since I need that EditText at different positions within the activity I perform some animations to move it around. I don't want to set the position without an animation. The animation also has the fillAfter attribute set to true so the EditText widget stays at

[android-developers] Animation Problem

2009-08-11 Thread HVT
Hello All, I'm new to Android and trying to develop an app that has loads of animation. Its a small game. Currently i have a object (image) moving around the canvas. I used animation to animate it around the screen. But the problem here is i dont have the XY coordinates of that object while

  1   2   >