testsmirk Goto Github PK
Name: TestSmirk
Type: User
Bio: A developer?
Location: beijing
Name: TestSmirk
Type: User
Bio: A developer?
Location: beijing
阿里云盘 WebDAV 服务
android BadgeView
Template repository for the Jetpack Compose #AndroidDevChallenge
Your Cheat Sheet For Android Interview - Android Interview Questions
Collect and classify android open source projects 微信公众号:codekk
Automatically exported from code.google.com/p/android-wheel
收集整理一些学习 Android 资料,希望能帮助到你学习 Android 开发
Automatically exported from code.google.com/p/androidbmi
GitHub控件之BadgeView(数字提醒) 开发者当然可以自己用相对布局来实现这样的效果。一个还好,但是多了呢!就会很繁琐。GitHub上有一个开源的第三方控件,叫做BadgeView。使用它可以很方面的实现想要的效果。 先来怎么使用,简单的三行代码就可以实现数字提醒: [java] view plaincopy在CODE上查看代码片派生到我的代码片 BadgeView badgeView = new com.jauker.widget.BadgeView(this); badgeView.setTargetView(textView); badgeView.setBadgeCount(3); 看一下badgeview中常用的方法: 1. setTargetView(View) --> 设置哪个控件显示数字提醒,参数就是一个view对象 2. setBadgeCount(int) --> 设置提醒的数字 3. setBadgeGravity(Gravity) --> 设置badgeview的显示位置 4. setBackgroundColor() --> 设置badgeview的背景色,当然还可以设置背景图片 5. setBackgroundResource() --> 设置背景图片 6. setTypeface() --> 设置显示的字体 7. setShadowLayer() --> 设置字体的阴影 [java] view plaincopy在CODE上查看代码片派生到我的代码片 badgeView = new BadgeView(this); badgeView.setTargetView(layout); badgeView.setBackground(12, Color.parseColor("#9b2eef")); badgeView.setText("提示"); [java] view plaincopy在CODE上查看代码片派生到我的代码片 badgeView = new BadgeView(this); badgeView.setTargetView(layout); badgeView.setBadgeGravity(Gravity.BOTTOM | Gravity.CENTER); badgeView.setBadgeCount(4); [java] view plaincopy在CODE上查看代码片派生到我的代码片 badgeView = new BadgeView(this); badgeView.setTargetView(layout); badgeView.setBadgeGravity(Gravity.TOP | Gravity.LEFT); badgeView.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.ITALIC)); badgeView.setShadowLayer(2, -1, -1, Color.GREEN); badgeView.setBadgeCount(2); 实际上BadgeView这个类就是继承TextView的。很多TextView中设置字体的方法都适用于BadgeView。 OK。效果实现完毕。
宝塔Linux面板 - 简单好用的服务器运维面板
北京平安三者险 商业险预约
Sprint Boot + Vue 全栈
Sprint Boot + Vue 全栈
小程序选择图片拼图
A circular ImageView for Android
基于Github Actions的天翼云盘每日签到
Netease open course was leaked android client source.
new version of alipay on cordove platform 阿里 支付宝 支付插件
dnspod 动态更新sub domain的ip(ipv4) bash脚本
this is my little web
一个集成android最新特性(侧滑菜单,下拉刷新和状态栏变色)的基础应用程序框架,方便基于此扩展其他程序.
检查北京科一考试可以预定报名的时间
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.