history changes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user