如何在Android文档提供程序上应用自定义主题?

时间:2015-07-07 06:17:10

标签: android image-gallery document-provider custom-theme

我在android中打开内置图像提供程序并正确打开它。

Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);

    // Filter to only show results that can be "opened", such as a
    // file (as opposed to a list of contacts or timezones)
    intent.addCategory(Intent.CATEGORY_OPENABLE);

    // Filter to show only images, using the image MIME data type.
    // If one wanted to search for ogg vorbis files, the type would be "audio/ogg".
    // To search for all documents available via installed storage providers,
    // it would be "*/*".
    intent.setType("image/*");

    startActivityForResult(intent, READ_REQUEST_CODE);

I want icon

现在我的问题是我想用我的自定义主题打开它。

例如应用我的android:colorPrimary,我也希望菜单中有一个可见的Camara图标......

如何将我的应用主题应用于文档提供者?

0 个答案:

没有答案