Wednesday, November 10, 2010

[android-developers] to use only a single frame layout for oading different-2 images from drawable folder

hi,
i am working on a image based yoga project.In which i am thinking to
use a single framelayout.
In each screen there are different-2 yoga steps/images.And on each
screen back and next buttons.I have done this using number of xmls
and .java files as intent,set class and start activity(bad
approach).Means on clicking next buttons(using intents and setclass) a
new class file is called with new layout and so on this cause 26 .java
files/classes.

In new approach just want to use single framrlayout(a common
layout for all images having back/next buttons) and on clicking next
and back buttons different-2 yoga steps/images get uploaded from
drawable folder.

How to do this ?please guide!

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate