Android开源 - Toasts Tasty
FosRicher
8年前
<h2>效果图</h2> <p><img alt="" src="https://simg.open-open.com/show/47bfdd80116e55a694f82a3041afe08a.gif"><img alt="" src="https://simg.open-open.com/show/983861bd6011035a02a2170e2c81e9f2.gif"></p> <p><img alt="" src="https://simg.open-open.com/show/fbc26f19a4461f61d0184b0451120af2.gif"><img alt="" src="https://simg.open-open.com/show/d4106f3ee4116e33da08941e670c44f3.gif"></p> <h2>使用</h2> <p>你的应用程序模块中添加依赖</p> <pre> <code>dependencies { compile 'com.sdsmdg.tastytoast:tastytoast:0.0.2' } </code></pre> <h2>Java</h2> <pre> <code class="language-java">TastyToast.makeText(getApplicationContext(), "Hello World !", TastyToast.LENGTH_LONG, TastyToast.WARNING);</code></pre> <p> </p> <p>本站原创,转载时保留以下信息:<br> 本文转自:深度开源(open-open.com)<br> 原文地址:<a href="http://www.open-open.com/lib/view/open1470812041396.html">http://www.open-open.com/lib/view/open1470812041396.html</a></p>