Update UiUtilities.java

This commit is contained in:
androiddevkotlin 2021-01-24 23:54:44 +02:00
parent 3c6b065f50
commit 2cdb8953f6

View file

@ -560,7 +560,7 @@ public class UiUtilities {
endButtonContainer.setBackground(endButtonRoundedCorner); endButtonContainer.setBackground(endButtonRoundedCorner);
endButtonText.setTextColor(activeColor); endButtonText.setTextColor(activeColor);
} else { } else {
endButtonRoundedCorner.setStroke(AndroidUtils.dpToPx(app, 1), UiUtilities.getColorWithAlpha(inActiveColor, 0.5f)); endButtonRoundedCorner.setColor(UiUtilities.getColorWithAlpha(activeColor, 0.1f));
centerButtonContainer.setBackgroundDrawable(endButtonRoundedCorner); centerButtonContainer.setBackgroundDrawable(endButtonRoundedCorner);
centerButtonText.setTextColor(textColor); centerButtonText.setTextColor(textColor);
} }