DialogFragment使用细节
来源:互联网 发布:afreecatv软件下载 编辑:程序博客网 时间:2024/05/11 02:03
@Overridepublic void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); //全屏 setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Black_NoTitleBar_Fullscreen);}@Nullable@Overridepublic View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { Dialog dialog = getDialog(); if (dialog == null) { return null; } //去标题并 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); //设置背景透明 dialog.getWindow().setBackgroundDrawable(new ColorDrawable(0)); View view = inflater.inflate(R.layout.dialog_share, container, false); ButterKnife.bind(this, view); return view;}
0 0
- DialogFragment使用细节
- 使用DialogFragment
- dialogfragment使用
- DialogFragment 使用
- DialogFragment 使用
- 使用DialogFragment
- DialogFragment使用
- 使用DialogFragment
- DialogFragment使用
- Using DialogFragment ——使用DialogFragment
- Android:DialogFragment的使用
- Dialog与DialogFragment使用
- ApiDemos--DialogFragment的使用
- android DialogFragment简单使用
- DialogFragment的使用示例
- 使用DialogFragment 代替 Dialog
- 使用DialogFragment托管dialog
- DialogFragment的相关使用
- Django Admin管理 fields和list_display的区别
- Web应用跨域访问解决方案汇总
- JDK JRE JVM的区别:
- MFC界面库BCGControlBar v25.0新功能详解二:网格和报表控件
- spring boot 学习笔记(009)application.yml
- DialogFragment使用细节
- 小谈如何解决VC6.0 open崩溃的问题(已解决)
- ubuntu 下串口调试工具 minicom安装与配置
- HTML+css+js定义好的字体忽大忽小,乱变,js切换文字内容
- Xamarin提示Build-tools版本过老
- Displaying Bitmaps Efficiently
- 谈谈对通用的第三方工具库再封装的必要性
- 关于SAP中的ICON
- iOS 类似美团外卖 app 两个 tableView 联动效果实现