Android自定义Toast提示信息工具类

上传者: 39826207 | 上传时间: 2022-10-23 13:06:34 | 文件大小: 60KB | 文件类型: ZIP
Android自定义Toast提示信息工具类,可以实现如下功能: 1、最简单Toast显示 2、自定义图标、图标颜色 3、自定义文本颜色 4、自定义背景颜色 5、设置组件水平、垂直显示位置 6、设置边框宽度、边框颜色

文件下载

资源详情

[{"title":"( 39 个子文件 60KB ) Android自定义Toast提示信息工具类","children":[{"title":"CustomToast","children":[{"title":"customtoast","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"res","children":[{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"custom_toast_shape.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"toast_error.png <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"icon","children":[{"title":"success.png <span style='color:#111;'> 908B </span>","children":null,"spread":false}],"spread":true},{"title":"toast_success.png <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"toast_warn.png <span style='color:#111;'> 838B </span>","children":null,"spread":false},{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"themes.xml <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 336B </span>","children":null,"spread":false}],"spread":true},{"title":"values-night","children":[{"title":"themes.xml <span style='color:#111;'> 833B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.webp <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.webp <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"custom_toast_layout.xml <span style='color:#111;'> 1021B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"android","children":[{"title":"customtoast","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"ToastUtil.java <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 796B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1023B </span>","children":null,"spread":false}],"spread":true},{"title":"使用方法","children":[{"title":"drawable","children":[{"title":"custom_toast_shape.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false}],"spread":true},{"title":"ToastUtil.java <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"使用步骤.txt <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"icon","children":[{"title":"toast_error.png <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"toast_success.png <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"toast_warn.png <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"custom_toast_layout.xml <span style='color:#111;'> 1021B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明