android - 無法呼叫Google Restore light theme的頁面
怪我咯
怪我咯 2017-04-17 13:41:36
0
0
292

大家好,

在开发客制化Setup wizard时,登入完Google帐户后,呼叫Google restore页面时,按照以下程式呼叫出来的theme是dark的,然而呼叫其他Google页面则可为light theme。不知道遗漏了什么?装置是5.0以上的

    Intent intent = new Intent();
    intent.setAction("com.google.android.setupwizard.RESTORE");
    Bundle options = new Bundle(); 
    options.putBoolean("useImmersiveMode", true);
    options.putBoolean("setupWizard", true);
    options.putString("theme", "material_light");
    intent.putExtras(options);
    startActivityForResult(intent, RESTORE_CODE); 

先谢谢各位帮忙了~

怪我咯
怪我咯

走同样的路,发现不同的人生

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!