Android-CommonShapeButton icon indicating copy to clipboard operation
Android-CommonShapeButton copied to clipboard

图片居中处理的不太好

Open walkthehorizon opened this issue 7 years ago • 0 comments

我觉得没必要重新定义一个drawablePosition来定位图片位置,之前使用默认的start_end_top_bottom就行,另外我觉得应该兼容文字的位置选择,允许start_end_top_bottom_center_center_v_center_h,这些,你这里onDraw一次性移动位置实现居中,一棒子打死了,

walkthehorizon avatar Oct 30 '18 07:10 walkthehorizon