Android 警报库 Alerter
- 授权协议: MIT
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/Tapadoo/Alerter
- 软件文档: https://github.com/Tapadoo/Alerter/blob/master/README.md
软件介绍
Alerter 是一个 Android 警报库,旨在克服 Toasts 和 Snackbars 的局限性,降低布局的复杂性。
Gradle
dependencies { compile 'com.tapadoo.android:alerter:1.0.2' }
Usage
考虑到简单性,Alerter 采用了构建器模式,以便于轻松集成到任何应用程序中。
From an Activity -
Alerter.create(this) .setTitle("Alert Title") .setText("Alert text...") .show();
Or from a Fragment -
Alerter.create(getActivity()) .setTitle("Alert Title") .setText("Alert text...") .show();
Customisation
可自定义背景颜色
Alerter.create(this) .setTitle("Alert Title") .setText("Alert text...") .setBackgroundColor(R.color.colorAccent) .show();
可自定义图标
Alerter.create(this) .setText("Alert text...") .setIcon(R.drawable.ic_face) .show();
Bulletproof Web Design
Dan Cederholm / New Riders Press / 28 July, 2005 / $39.99
No matter how visually appealing or packed with content a Web site is, it isn't succeeding if it's not reaching the widest possible audience. Designers who get this guide can be assured their Web site......一起来看看 《Bulletproof Web Design》 这本书的介绍吧!