It depends on the actual use case.
For example: preference activities typically don't use a dedicated "Ok"
or "Save" button, to pressing Back applies the changes.
"Edit a data item" type activities typically have an "Ok" or "Save" (but
not "Back") button that saves the data and closes the activity. Pressing
Back in these doesn't save the changes.
-- Kostya
03.10.2011 17:59, John Goche ?????:
I hope nobody minds if I jump in on this topic. I wanted to ask
whether implementations
should interpret the back button as an OK or as a Cancel when a form
has data.
Regards,
John Goche
On Mon, Oct 3, 2011 at 3:39 PM, Chrystian Vieyra
<chrys.vie...@gmail.com <mailto:chrys.vie...@gmail.com>> wrote:
Why do you need a back button on your layout? The current CCC
states that "device implementations MUST make these functions
available
to the user at all times, regardless of application state. These
functions SHOULD be implemented via dedicated buttons." A physical
back button is standard, having a button on your layout is
redundant at best.
--
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
<mailto:android-developers@googlegroups.com>
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
<mailto:android-developers%2bunsubscr...@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
--
Kostya Vasilyev
--
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