1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

reshuffle color views into view/

This commit is contained in:
Jesse Vincent 2010-12-13 00:18:00 +00:00
parent 76b6fa696b
commit 26712ed84a
3 changed files with 5 additions and 3 deletions

View File

@ -15,7 +15,7 @@
-->
<com.fsck.k9.activity.ColorPickerBox
<com.fsck.k9.view.ColorPickerBox
android:id="@+id/colorpicker_viewBox"
android:layout_x="8dp"
android:layout_y="8dp"

View File

@ -15,6 +15,8 @@ import android.graphics.Color;
import android.util.Log;
import android.view.*;
import android.widget.*;
import com.fsck.k9.view.ColorPickerBox;
public class ColorPickerDialog
{

View File

@ -8,7 +8,7 @@
package com.fsck.k9.activity;
package com.fsck.k9.view;
import com.fsck.k9.R;
import android.content.*;
import android.graphics.*;
@ -69,7 +69,7 @@ public class ColorPickerBox extends View
canvas.drawRect(0.f, 0.f, sizeUiPx, sizeUiPx, paint);
}
void setHue(float hue)
public void setHue(float hue)
{
this.hue = hue;
invalidate();