我使用进度为Android 2.3.3对话框。进度对话框的状态显示的格式为60%60/100,但我只想显示比例不是60/100。我该怎么办呢?请帮忙。
I am using progress dialog for android 2.3.3. Progress dialog's status is showing with the format as "60% 60/100" but I want to display only percentage not "60/100". How can I do it? please help.
据documentation,你应该叫 setProgressNumberFormat(空)
在 ProgressDialog
实例来获得这一行为
According to documentation, you should call setProgressNumberFormat (null)
on your ProgressDialog
instance to get this behavior