admin管理员组文章数量:815140
简单的图片处理器(设置色相,亮度,饱和度)
首先前台布局就是选择的一张图片,还有三个设置三种颜色参数的seekbar
<LinearLayout xmlns:android=""
xmlns:tools=""
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout android:layout_height="0dp"
android:layout_width="fill_parent"
android:layout_weight="1">
<ImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/touxiang" />
</LinearLayout>
<LinearLayout android:layout_height="50dp"
android:layout_width="fill_parent">
<SeekBar
android:id="@+id/rotateseekBar"
android:layout_width="match_parent"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"/>
</LinearLayout>
<LinearLayout android:layout_height="50dp"
android:layout_width="fill_parent">
<SeekBar
android:id="@+id/saturationseekBar"
android:layout_width="match_parent"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_height="wrap_content"
android:layout_weight="1"
本文标签: 简单的图片处理器(设置色相,亮度,饱和度)
版权声明:本文标题:简单的图片处理器(设置色相,亮度,饱和度) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/biancheng/1715194523a822283.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论