类 iOS 毛玻璃效果控件 BlurView
- 授权协议: Apache 2.0
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/Dimezis/BlurView
- 软件文档: https://github.com/Dimezis/BlurView/blob/master/README.md
- 官方下载: https://github.com/Dimezis/BlurView/archive/master.zip
软件介绍
BlurView 是Android下类似 iOS 毛玻璃效果控件。
使用:
<eightbitlab.com.blurview.BlurView android:id="@+id/blurView" android:layout_width="match_parent" android:layout_height="wrap_content" app:overlayColor="@color/colorOverlay"> <!--Any child View here, TabLayout for example--> </eightbitlab.com.blurview.BlurView>
final int radius = 16; final View decorView = getWindow().getDecorView(); //Activity's root View. Can also be root View of your layout final View rootView = decorView.findViewById(android.R.id.content); //set background, if your root layout doesn't have one final Drawable windowBackground = decorView.getBackground(); blurView.setupWith(rootView) .windowBackground(windowBackground) .blurAlgorithm(new RenderScriptBlur(this, true)) //Preferable algorithm, needs RenderScript support mode enabled .blurRadius(radius);
Docker开发指南
[英] Adrian Mouat / 黄彦邦 / 人民邮电出版社 / 2017-4 / 79.00元
Docker容器轻量和可移植的特性尤其适用于动态和分布式的环境,它的兴起给软件开发流程带来了一场革命。本书对Docker进行了全面讲解,包括开发、生产以至维护的整个软件生命周期,并对其中可能出现的一些问题进行了探讨,如软件版本差异、开发环境与生产环境的差异、系统安全问题,等等。一起来看看 《Docker开发指南》 这本书的介绍吧!
