fix(translate-button): fix button opacity when loading translation
cc: @sk22
This commit is contained in:
parent
d0c5a2ed2e
commit
8a6c9881e4
|
@ -237,7 +237,7 @@ public class TextStatusDisplayItem extends StatusDisplayItem{
|
|||
}else{ // LOADING
|
||||
translationProgress.setVisibility(View.VISIBLE);
|
||||
translationButton.setEnabled(false);
|
||||
translationButton.startAnimation(opacityIn);
|
||||
translationButton.setAlpha(0.5f);
|
||||
translationInfo.setVisibility(View.INVISIBLE);
|
||||
UiUtils.beginLayoutTransition((ViewGroup) translationButton.getParent());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue