[android-developers] Multi-Page Form with Fragments and Tabs

2013-02-14 Thread Evan Ruff
Hey guys,

I was hoping someone could give me a little insight as to how I can make my 
multi-page form work a little better. Currently, each page (two pages) on 
my form is a separate fragment. I use the ActionBar Tabs to display the 
pages and then a Next button in each page that switches the tabs to the 
next page. All validation is done on the "Save" button on the last page. 

Everything is working well, but I'm having a little issue with the back 
functionality. I'd like to be able to create/pop back stack activities when 
the user switched. As it is now, he just gets tossed completely out of the 
wizard, not returned to the previous page (tab).

How should I handle that? Any input would be appreciated! 

Oh, I'm targeting API 14.

Thanks!

Evan

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] multi page form

2011-09-06 Thread Logesh rajendren
my advice is to shrink your UI so that it fits into a single page. because
Users dont like to use scrolls. Design your form in such a way if its
feasible .

On Tue, Sep 6, 2011 at 6:03 AM, ksmobilejava  wrote:

> Hello ,
> I am new to android paltform.
> How to navigate through multi page form application? how to handle
> next and back button click event?
> My point of confusion is that, form filling is single activity , then
> how to display multiple pages of the form and how to navigate back and
> forth from pages in that activity?
>
> --
> 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

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

Re: [android-developers] multi page form

2011-09-06 Thread Mark Murphy
On Tue, Sep 6, 2011 at 12:10 PM, Appaholics  wrote:
> Use a view that scrolls. That way everything will be on one "page".

The downside of that is the user might not realize that the whole form
scrolls. On the plus side, if everything happens to fit, there's no
extra work involved to have everything show at once.

>> How to navigate through multi page form application? how to handle
>> next and back button click event?
>> My point of confusion is that, form filling is single activity , then
>> how to display multiple pages of the form and how to navigate back and
>> forth from pages in that activity?

If you are aiming for a "wizard" style UI, I'd use a ViewFlipper for
the "pages" plus Button widgets to move forward and back.

(note to self: work out strategy for handling this sort of UI with
fragments and different screen sizes, as it might all fit on one
screen on a tablet...)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 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


Re: [android-developers] multi page form

2011-09-06 Thread Appaholics
Use a view that scrolls. That way everything will be on one "page".

Thanks

On Tue, Sep 6, 2011 at 6:33 PM, ksmobilejava  wrote:

> Hello ,
> I am new to android paltform.
> How to navigate through multi page form application? how to handle
> next and back button click event?
> My point of confusion is that, form filling is single activity , then
> how to display multiple pages of the form and how to navigate back and
> forth from pages in that activity?
>
> --
> 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




-- 
--
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

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

[android-developers] multi page form

2011-09-06 Thread ksmobilejava
Hello ,
I am new to android paltform.
How to navigate through multi page form application? how to handle
next and back button click event?
My point of confusion is that, form filling is single activity , then
how to display multiple pages of the form and how to navigate back and
forth from pages in that activity?

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