진행률 표시 줄을 끊이지 않는 방법을 설정하고 텍스트가 다시 시작될 때 다시 표시되는 경우 다시 표시됩니다. android
-
10-12-2019 - |
문제
나는 TextWatcher를 구현했다. 그래서 나는 뭔가를 쓰고 싶을 때 진행률 막대가 눈에 띄게 될 것이라고 가시적 인 것 (그리고 oncreate에서 당신을 면제 할 수없는 방법)
해결책
In order to hide a control such as a ProgressBar in Android use the setVisibility() method like that:
mProgressBar.setVisibility(View.VISIBLE); // To set it visible
and:
mProgressBar.setVisibility(View.INVISIBLE); // To set it invisible
So just set it to View.INVISIBLE inside your Activity onCreate() method, then set it to View.VISIBLE when you need it to be visible.
제휴하지 않습니다 StackOverflow