这是我第一次使用BottomSheetDialog,代码是这样的:
final BottomSheetDialog bottomSheetDialog = new BottomSheetDialog(this);
bottomSheetDialog.setTitle("title");
//bottomSheetDialog.setContentView(...)
bottomSheetDialog.show();
Run Code Online (Sandbox Code Playgroud)
当我运行此代码时,标题没有显示.
你能解释一下这段代码发生了什么吗?谢谢〜
android ×1