实现的效果图:自定义Fragment继承BottomSheetDialogFragment重写它的三个方法:onCreateDialog()onCreateView()onStart()他们的执行顺序是从上到下importandroid.app.Dialog;importandroid.content.Context;importandroid.graphics.Color;importandroid.graphics.drawable.ColorDrawable;importandroid.os.Bundle;importandroid.util.Log;importandroid.view.LayoutInflater;importandroid.view.View;importandroi...
继续阅读 >