FragmentDialog去掉背景
来源:互联网 发布:高二数学算法初步 编辑:程序博客网 时间:2024/04/29 04:13
1、在styles.xml中编写样式,将背景设置为透明
<style name="Fragment_dialog_style" > <item name="android:windowBackground">@color/transparent</item></style>
2、在onCreate中设置FragmentDialog的样式
@Overridepublic void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(android.app.DialogFragment.STYLE_NORMAL, R.style.Fragment_dialog_style);}3、搞定
0 0
- FragmentDialog去掉背景
- View背景颜色设置&Fragment&FragmentDialog
- UISearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- UIsearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- UISearchBar背景透明,去掉背景,自定义背景
- FragmentDialog 代码
- 去掉背景颜色
- 去掉gridview 黄色背景
- 去掉webView白色背景
- UITableView 去掉背景颜色
- UIImge去掉黑色背景-----
- 去掉ListView选中背景
- UIWebView去掉底部背景
- sublime 手动安装插件
- Android同一个TextView里响应多个区域点击事件
- PL/SQL建表时中文乱码
- 求无符号数中1的个数
- Python: 对象与参考
- FragmentDialog去掉背景
- 笔记本Lenovo Y470s硬件信息
- Linux下安装Mongodb3.0
- Thread
- Spring事务简要笔记
- 单例模式(Singleton Pattern)
- Oracle查询客户端编码集
- 游戏服务器端开发要点
- How Classes are Found