Monday, August 22, 2011

[android-developers] news app

Ok, let's say you are working on a news app.

So, you have a ListView with some article titles.

Then, when an article is clicked you have a TextView that replaces the
ListView.

What is the best way to do this?

I'm thinking of having the ListView and TextView on top of each other
in an AbsoluteLayout and showing/hiding as needed.

Or, I can create two XML files and using setContentView as needed.

Any ideas?

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

No comments:

Post a Comment