在我的选项菜单中,我有一个可以更改应用程序背景的功能。为此,我启动了一个 Activity,用户可以在其中从他的图库中选择图像。
现在问题来了:我希望画廊以fullscreen-mode显示。
我的 AndroidManifest.xml 包含
<application android:icon="@drawable/icon"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:label="@string/app_name">
我正在通过
Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI);
i.setType("image/*");
startActivityForResult(i, PICK_REQUEST);
有谁知道如何做到这一点?