Source code for enamlnative.android.android_bottom_sheet_dialog
"""
Copyright (c) 2017-2022, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Jan 29, 2018
"""
from atom.api import Typed
from enamlnative.widgets.bottom_sheet_dialog import ProxyBottomSheetDialog
from .android_dialog import AndroidDialog, Dialog
class BottomSheetDialog(Dialog):
package = "com.google.android.material.bottomsheet"
#: Simply uses a different class
__nativeclass__ = f"{package}.BottomSheetDialog"
[docs]class AndroidBottomSheetDialog(AndroidDialog, ProxyBottomSheetDialog):
"""An Android implementation of an Enaml ProxyBottomSheetDialog."""
#: A reference to the widget created by the proxy.
dialog = Typed(BottomSheetDialog)
# -------------------------------------------------------------------------
# Initialization API
# -------------------------------------------------------------------------