Android图像处理后左右对比
BifacialView
毕业
allprojects { repositories { maven { url 'https://jitpack.io' } } }
dependencies { compile 'com.github.pavel163:BifacialView:1.1.1' }
如何使用
<com.ebr163.bifacialview.view.BifacialView android:layout_width="match_parent" android:layout_height="226dp" app:drawableLeft="@drawable/left" app:drawableRight="@drawable/right" app:arrowVisibility="true" app:leftText="before" app:rightText="after" app:textSize="20sp" app:delimiterColor="@android:color/white" app:arrowColor="@android:color/holo_orange_light" app:textColor="@android:color/holo_orange_light" />
要以编程方式安装图片,请使用:
bifacialView.setDrawableLeft(drawableLeft);
bifacialView.setDrawableRight(drawableRight); 资源均来自第三方,谨慎下载,前往第三方网站下载
本站所有文章、数据、图片均来自互联网,一切版权均归源网站或源作者所有。
如果侵犯了你的权益请来信告知我们删除。邮箱:737597453@qq.com


