I'm sure this is far simpler than I'm making it out to be, but I'm having trouble figuring out how to retrieve the ID of the current view, so that I can conditionally alter the behavior of the "Back" button.
Here's the scenario...I have four layouts that I'm using: - Main - Preferences - Transaction List - Transaction Details Depending on the layout that's current, I want the Back button to either take the user back to the Main layout (Prefs and T-List), or back to the Transaction List (T-Details). But, for the life of me, I can't figure out how to retrieve the current layout's ID to use as fodder for the switch. I'm far from a seasoned programmer, and this is a hobby project, but it's been bugging me for a few days now, and I thought someone here might have a suggestion. Thanks! Snarky -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

