- 博客(6)
- 资源 (3)
- 问答 (4)
- 收藏
- 关注
原创 Android 切换图形 类似tablayout 头部
public class CenterView extends View { private Paint paint; private Path pathLeft; private Path pathRight; public int bot_width = ConvertUtils.dp2px(100); public int height = ConvertUtils.dp2px(80); public int leftColor = R...
2020-12-29 14:53:06 281
翻译 Android 开屏动画 文字版
https://github.com/seagazer/animlogoviewimplementation 'com.github.seagazer:animlogoview:1.0.1'maven { url 'https://maven.aliyun.com/repository/public' name 'replace jcenter() and mavenCentral()'}maven { url 'https://maven.al...
2020-12-23 17:08:42 447
原创 Android 计算俩个日期差
只能算到天~ 年和月不会@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); String a = "2020-12-23 14:23:24"; String b = "2020-12-23 10:23:2
2020-12-23 15:51:10 363
原创 Android Xpopup 使用日记
正经人也写使用日记使用步骤,引入依赖implementation 'com.lxj:xpopup:2.2.8'1.自定义 没什么比自定义更重要论 "一个弹窗可能需要单独设置的地方"全局性设置全局设置推荐在Application中进行设置。1设置主色调 默认情况下,XPopup的主色为灰色,主色作用于Button文字,EditText边框和光标,Check文字的颜色上。 主色调只需要设置一次即可,可以放在Application中设置。XPopup.setPr...
2020-12-09 16:19:12 6053
原创 Android BottomSheetDialog
状态栏这里还是有问题.一般就是添加window 的flag 就可以 final BottomSheetDialog mBottomSheetDialog = new BottomSheetDialog(this); View view = LayoutInflater.from(this).inflate(R.layout.bottom_sheet_dialog, null, false);// Objects.requireNonNul...
2020-12-08 16:46:44 390
原创 Android SeekBar 统计
1.原生 <SeekBar android:id="@+id/seekBar" android:layout_width="match_parent" android:layout_height="wrap_content" android:progressBackgroundTint="@color/yellow" android:progressTint="@colo
2020-12-03 15:08:28 103
拉取我的github项目到本地 并且关联
2019-12-28
Android 自定义View 中如何 再new 一个Canvas
2019-09-09
安卓网络请求方面的求解决
2017-07-24
TA创建的收藏夹 TA关注的收藏夹
TA关注的人