Main goal of this library is to make images viewing process as smooth as possible and to make it easier for developers to integrate it into their apps. Licensed under ...
之前系统地分析了View Measure 过程: Android 自定义View之Measure过程 我们知道父布局根据自身和子布局的要求给子布局生成测量模式和测量尺寸,并封装在 MeasureSpec对象里,最终传递给子布局让它最后确定自身的尺寸。 很自然就会想到,既然子布局是从父布局拿的 ...
文章很快速的接验证了方案的原理,验证原理后,其实剩下的就是针对高亮这个需求,如何更好的设计;所以如果跟着作者的思路走下去,可以了解到这个库一步步设计出来的样子。 首先在整个界面画出一个半透明的全屏蒙层 通过View.getDrawingCache 获取该目标View ...
Hold the mic and the timer will start (starts voice recording), now you can slide left to cancel or slide up to lock, release the mic to send (stops recording and sends the voice note). Although you ...
The CoordinatorLayout is a new layout, introduced with the Android Design Support Library. The CoordinatorLayout is a super-powered FrameLayout (according to the official documentation). If you have ...