# android_control **Repository Path**: darcy_d/android_control ## Basic Information - **Project Name**: android_control - **Description**: 自定义控件的库 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-06-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 动画 ### 闪烁文字 - 利用TimerTask实现文字闪烁功能 ### DiscActivity:盘片播放动画 - 使用LinearInterpolator设置动画播放的速度为匀速 - 使用Animation.setFillAfter控制动画完成后保持当前状态 - 使用setAnimationListener监听动画事件,控制动画播放的顺序 - 使用Animation.setStartOffset实现动画延迟 --- ## 对话框 ### DialogUtil - void showDialog1(自定义背景,自定义按钮,按钮点击音效) --- ## ListView ### 可横向滚动的ListView - 支持固定第一行、第一列 - 支持隔行变色 --- ## Share ### 微信分享 - 分享文本 - 分享图片 --- ## TextView ### MarqueeText:跑马灯效果的TextView --- ## Tool ### 配置文件的保存与读取 ### 屏幕截图ScreenShotUtil ### 辅助类util #### ActivityUtil - View getView(Context context, int layoutId) - void startActivityWithFinish(Context context, Class dest) #### BitmapUtil - byte[] bmpToByteArray(final Bitmap bmp, boolean needRecycle) #### EffectUtil:特效 - void sparkText(final Activity activity,final TextView text, final int[] colors, final int times) #### FileUtil:文件 I/0 - 保存图片 - 保存配置 - 读取配置 #### SoundUtil - playSong & stopSong: 播放音乐 - playSound: 播放音效