mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
reshuffle color views into view/
This commit is contained in:
parent
76b6fa696b
commit
26712ed84a
@ -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"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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();
|
Loading…
Reference in New Issue
Block a user