MainActivity.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:AndroidFileHost_Browser 作者:
public void showColourDialog(int type) {
    switch (type) {
        case 1:
            new ColorChooserDialog.Builder(this, R.string.dialog_colour_primary_title)
                    .preselect(Utils.getPrefsColour(1, getApplicationContext()))
                    .show();
            break;
        case 2:
            new ColorChooserDialog.Builder(this, R.string.dialog_colour_accent_title)
                    .accentMode(true)
                    .preselect(Utils.getPrefsColour(2, getApplicationContext()))
                    .show();
            break;
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号