如何在android中为AccountPicker添加自定义对话框?
下面是我获取设备电子邮件帐户的代码,我想使用谷歌帐户选择器的自定义对话框:如何在android中为AccountPicker添加自定义对话框?,android,android-dialogfragment,android-dialog,accountpicker,Android,Android Dialogfragment,Android Dialog,Accountpicker,下面是我获取设备电子邮件帐户的代码,我想使用谷歌帐户选择器的自定义对话框: Intent intent = AccountPicker.newChooseAccountIntent( null, null, new String[] { GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE }, false, null, null, null, null ); startActivityForResult(int
Intent intent = AccountPicker.newChooseAccountIntent(
null,
null,
new String[] { GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE },
false,
null,
null,
null,
null
);
startActivityForResult(intent, 1);
它显示了一个默认对话框,我想把它改成playstore的帐户切换对话框,但我不知道如何在帐户选择器中添加自定义对话框来代替默认对话框