history changes

This commit is contained in:
serso
2011-10-27 11:35:35 +04:00
parent 08ee781b07
commit 6935733c9c
5 changed files with 41 additions and 16 deletions

View File

@@ -60,6 +60,8 @@ public class ColorButton extends Button {
private final OnClickListenerVibrator onClickListener;
private static final float H_TEXT_POSITION_DEFAULT_VALUE = 0.5f;
// todo serso: check - currently not worked
private float hTextPosition = H_TEXT_POSITION_DEFAULT_VALUE;
public ColorButton(Context context, AttributeSet attrs) {
@@ -206,6 +208,14 @@ public class ColorButton extends Button {
this.onClickListener.onClick(this);
}
public float getHTextPosition() {
return hTextPosition;
}
public void setHTextPosition(float hTextPosition) {
this.hTextPosition = hTextPosition;
}
@Override
public boolean onTouchEvent(MotionEvent event) {
boolean result = super.onTouchEvent(event);