Mariano Kamp wrote:
>    let's consider this: You have a list view that shows all emails in  
> your mailbox, but just their subject and from information. When you  
> click on a list item to launch an activity that shows the full mail.  
> The latter view also contains the same subject and from information,  
> rendered the same way as in the list view (e.g. the subject is bold  
> when the mail is unread).
> 
>    How to do that in a sane way? Let's define a mail_row.xml with two  
> TextViews that represent the subject and from. So far so good, but how  
> can I re-use this description in the email_full.xml to prevent  
> duplication?

I think <merge> or <include> will work, though I haven't experimented
with either as yet.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to