android - 無法呼叫Google Restore light theme的頁面
怪我咯
怪我咯 2017-04-17 13:41:36
[Android讨论组]

大家好,

在开发客制化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)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号