Animating layout.

by avigadl » Sat, 17 Jul 2010 02:27:17 GMT

Sponsored Links
 I would like to apply an animation to a layout. However, I need to
apply  different animation to each one of its child
How should I do it?


Other Threads

1. App rating system and eliciting constructive criticism

My 2 cents on what I expierenced so far on the Android market. Just
wondering if anyone has advice or opinions on the topic.

How do you guys deal with ratings on applications, especially free
ones? I don't understand why people would give an app 1 star when the
application runs fine but they feel features aren't up to par. I would
agree with 2-3 stars but 1? I would give 1 to apps that crash not run
without features you feel are necessary. How do you entice the people
who are enjoying it to post a rating? Just like tangible good items
you only hear from people who have had a bad expierence I want to make
it better but can't without feedback. I all for fair constructive
criticism, if I deserve 1 star then great let me know why and i'll fix
it, or look into why it has to work the way it works. People will
either rate 1 or 5 and nothing in between, and most of the time you
only get a rating during 'uninstall' and if its within hours of
install its usually a 1.

The problem with low rating is that visiblity drops on the app. There
is no way to make something better if people don't use it and leave
constructive criticism. What's troubling is I've written 3 apps to the
1 app I wrote for the Iphone, that doesn't serve any usefulness like
the 3 I wrote on Android, it was a 'test' app. But based on ad
requests data it gets used a lot more then any of the apps I've
written on the Android.


2. startActivityForResult returns result BEFORE activity starts.

OK, I'm stuck.

I call startActivityForResult. Based on everything I've read, this
should return a result after the activity calls finish().

But it doesn't.OnActivityResult() is called with the correct request
code IMMEDIATELY after startActivityForResult is called. Based on
debugging, this is happening before DownloadActivity.onCreate() is
called. If I add a default constructor to DownloadActivity, it also
happens before the constructor is called.

OnActivityResult is called.

Here are the relevant lines of code, both of them:

                        Intent intent = new Intent(this,DownloadActivity.class);
                        startActivityForResult(intent, DOWNLOAD_ACTIVITY_RESULT 

Since the ApiDemos example does work, I checked to see the manifest on
the SendResult Activity. I found it was very simple and changed mine
to match, but that didn't help.

        <activity android:name=".DownloadActivity">

This is the stack trace when OnActivityResult is called.

MyActivity.onActivityResult(int, int, Intent) line: 330
MyActivity(Activity).dispatchActivityResult(String, int, int, Intent)
line: 3828
ActivityThread.deliverResults(ActivityThread$ActivityRecord, List)
line: 3310
ActivityThread.handleSendResult(ActivityThread$ResultData) line: 3356
ActivityThread.access$2700(ActivityThread, ActivityThread$ResultData)
line: 119
line: 1878
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4338
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$ line: 860
ZygoteInit.main(String[]) line: 618
NativeStart.main(String[]) line: not available [native method]

Can anyone make any suggestions? I know I haven't given you much to go
on, but I don't have any more. If I can't fix this, I can only
conclude that I can't use startActivityForResult, because it fails for
unknown reasons that I can't explain, even if it works just great for
all other developers.



3. Changing button image based on user input.

4. numpang jualan bro milestone + doockking ORI

5. PLEASE HELP!!! may i develop app for Android 1.6 using SDK 2.x?

6. clock of emulator 1.6 runs 100% slower than real time clock!!!

7. On activity (re)usage en creation