class ReturnHomeWidget extends ButtonWidget
Widget has two states with two different interactions.
- White icon with arrow down indicates the aircraft is flying and the widget
interaction is to start returning home.
- Red icon indicates the aircraft is returning home and the widget interaction is
to cancel returning home.
Tapping the widget will open up a Dialog to confirm the desired action. Slide the dialog from left to right to start the action.
Preferred Aspect Ratio: 1:1. Widget needs to be in Activity context for showing Dialog