ProgressDialog: change text size

后端 未结 3 628
鱼传尺愫
鱼传尺愫 2020-12-13 16:47

I create a ProgressDialog from java code:

mProgressDialog = ProgressDialog.show(this, ..., ... , true);

I want to change the message text s

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-13 16:49

    You can also use: ContextThemeWrapper

    For example:

    ProgressDialog.show(new ContextThemeWrapper(this, R.style.DialogCustom), "Loading", "Wait please");
    
    
    

提交回复
热议问题