• 微信号:Zh-y9213
您当前的位置:爱资源分享网 > > 网站源码 > 程序源码

Android图像处理后左右对比

栏目:程序源码时间:2021-10-18 01:28阅读数:69人阅读

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