Skip to content

Commit

Permalink
Merge pull request #21 from SanojPunchihewa/dev
Browse files Browse the repository at this point in the history
Fix formatting
  • Loading branch information
SanojPunchihewa authored Jan 23, 2021
2 parents 7a1c80f + e64ee08 commit 6fa9dfc
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void initDefaultValues() {

}

public void setBackgroundColor(int backgroundColor){
public void setBackgroundColor(int backgroundColor) {
mBackgroundColor = backgroundColor;
updateButtonGlow();
}
Expand All @@ -123,7 +123,7 @@ public int getBackgroundColor() {
return mBackgroundColor;
}

public void setGlowColor(int glowColor){
public void setGlowColor(int glowColor) {
mGlowColor = glowColor;
updateButtonGlow();
}
Expand All @@ -132,7 +132,7 @@ public int getGlowColor() {
return mGlowColor;
}

public void setUnpressedGlowSize(int unpressedGlowSize){
public void setUnpressedGlowSize(int unpressedGlowSize) {
mUnpressedGlowSize = unpressedGlowSize;
updateButtonGlow();
}
Expand All @@ -141,7 +141,7 @@ public int getUnpressedGlowSize() {
return mUnpressedGlowSize;
}

public void setPressedGlowSize(int pressedGlowSize){
public void setPressedGlowSize(int pressedGlowSize) {
mPressedGlowSize = pressedGlowSize;
updateButtonGlow();
}
Expand All @@ -150,7 +150,7 @@ public int getPressedGlowSize() {
return mPressedGlowSize;
}

public void setCornerRadius(int cornerRadius){
public void setCornerRadius(int cornerRadius) {
mCornerRadius = cornerRadius;
updateButtonGlow();
}
Expand All @@ -160,10 +160,10 @@ public int getCornerRadius() {
}

public static Drawable getBackgroundWithGlow(View view, int backgroundColor,
int glowColor,
int cornerRadius,
int unPressedGlowSize,
int pressedGlowSize) {
int glowColor,
int cornerRadius,
int unPressedGlowSize,
int pressedGlowSize) {

float[] outerRadius = new float[8];
Arrays.fill(outerRadius, cornerRadius);
Expand Down

0 comments on commit 6fa9dfc

Please sign in to comment.