目的:记录一些代码碎片,便于复用
更新时间:不定期更新
图片选择器,支持多选单选
https://github.com/lovetuzitong/MultiImageSelectorgradle sdkVersion推荐设置方法:
用较低的 minSdkVersion 来覆盖最大的人群,用最新的 SDK 设置 target 和 compile 来获得最好的外观和行为全透明状态栏
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
Window window = getWindow();
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS | WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.setStatusBarColor(Color.TRANSPARENT);
window.setNavigationBarColor(Color.TRANSPARENT);
}
- GitHub相关
- Android-Open-Project 安卓开源项目集合
-
Material-Animations Material动画
- MaterialLoadingProgressBar Material 圆形进度条
-
ArcAnimator 难得一见的动画效果
-
MaterialDrawer
-
material-dialogs
- MaterialImageView 阴影 圆角 旋转抗锯齿的ImageView
- Android-StepsView
- material-animated-switch A material Switch with icon animations and color transitions