饱和度)"/>
简单的图片处理器(设置色相,亮度,饱和度)
首先前台布局就是选择的一张图片,还有三个设置三种颜色参数的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"
更多推荐
简单的图片处理器(设置色相,亮度,饱和度)
发布评论