Fragment animation as in Honeycomb Gmail app - how to do that?

by Scythe » Fri, 20 May 2011 00:14:57 GMT


Sponsored Links
 I'd like to achieve similar fragment behaviour as in the Honeycomb
Gmail app. So I have three fragment next to each other: A, B and C.
Initially, A and B is displayed, and when the user selects something
from B, it triggers an sliding-animation/fragment-transaction so that
B and C are visible. B showing the selected item, C showing the
desired content.

Any ideas how the Gmail app does this?

-- 



Re: Fragment animation as in Honeycomb Gmail app - how to do that?

by Ed Burnette » Fri, 20 May 2011 02:33:46 GMT


 There's probably using FragmentTransaction.setTransition() or
setCustomAnimations().




-- 


Sponsored Links


Other Threads

1. HW Requirements for Android based embedded device?

Hi Friends,

I have a question.
What are the hardware requirements for Androind based embedded deivices?
What is RAM 7 ROm size? What is the processor speed etc.?

How this depends on features to be supported in the embedded device?

If we say that Android is needed only for GUI purpose then what can be the
HW requirements in term of RAM, ROM and Processor speed?

Regards
praveen

-- 

2. How can i play swf-files (flash) in my program? Webview?

How can I play swf-files (flash) in my program? I have tried webview
(that is working) with this html-code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Flash</title>
</head>

<body>
<object width="550" height="400">
<param name="movie" value="flashfile.swf">
<embed src="flashfile.swf" width="550" height="400">
</embed>
</object>

</body>
</html>


But I just get cryptic character in the emulator with this html code
in webview. What is wrong? What can I do/try? Some code would be
nice ;)

Thanks

-- 

3. I have a question about the optionmenu for TabActivity

4. NotepadV3 Issues

5. Accounts && Authenticators

6. Is it possible to use com.android.phone.EditPhoneNumberPreference widget in my app

7. How to debug web page on device?