Hi Erel,
It's a regular View.
I think I may have it worked this out using a combination of xxxView.RemoveView, xxxView.Visible and Activity_KeyPress:
In my Activity, I have a main View, 3 "dialog" views (nested) and a "screenGrayer" (which is a transparent, gray 100%x/100%y view used an overlay on previous dialog view).
I control all the views using:
1. an OK button (on each View) to save the selected values, etc
2. the Back button to display/remove the views in the Activity:
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
If KeyCode=KeyCodes.KEYCODE_BACK Then
If firstDialogView.Visible Then
' back to mainView
firstDialogView.RemoveView
screenGrayer.RemoveView
Return False
Else If secondDialogView.Visible Then
' back to firstDialogView
secondDialogView.RemoveView
firstDialogView.Visible=True
Return False
Else If thirdDialogView.Visible Then
' back to secondDialogView
thirdDialogView.RemoveView
secondDialogView.Visible=True
Return False
Else If mainView.Visible Then
' go back
Return True
End If
End If
End Sub
It seems to work ok. Is this the "right" way to manage the views, etc?
Thanks