mam problem z aktywnością pick, mam to okienko:Android aktywność pick kolor tekstu
kolor tekstu jest biały i tło też. Jest to kod używam:
Bundle bundle = new Bundle();
ArrayList<String> shortcutNames = new ArrayList<String>();
shortcutNames.add(getString(R.string.group_applications));
bundle.putStringArrayList(Intent.EXTRA_SHORTCUT_NAME, shortcutNames);
ArrayList<ShortcutIconResource> shortcutIcons = new ArrayList<ShortcutIconResource>();
shortcutIcons.add(ShortcutIconResource.fromContext(this,
R.drawable.ic_launcher));
bundle.putParcelableArrayList(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, shortcutIcons);
Intent pickIntent = new Intent(Intent.ACTION_PICK_ACTIVITY);
pickIntent.putExtra(Intent.EXTRA_INTENT, new Intent(Intent.ACTION_CREATE_SHORTCUT));
pickIntent.putExtra(Intent.EXTRA_TITLE, getText(R.string.app_name));
pickIntent.putExtras(bundle);
startActivityForResult(pickIntent, 1);
Mam ten sam problem z Androidem 4.2 Myślę, że sam wprowadzę listę. Możesz pobrać elementy z PackageManager.queryIntentActivities() W celu wdrożenia systemu Android zajrzyj tutaj: https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/ActivityPicker.java – Alex
Tak, i nadal jest z podziałem na 4.2.1. – soundmaven
Dzięki! Zaimplementuję mój dialog – jaumard