android.support.v7.preference.PreferenceDialogFragmentCompat Java Examples

The following examples show how to use android.support.v7.preference.PreferenceDialogFragmentCompat. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ColorPickerPreferenceDialogFragmentCompat.java    From Silence with GNU General Public License v3.0 5 votes vote down vote up
public static ColorPickerPreferenceDialogFragmentCompat newInstance(String key) {
  ColorPickerPreferenceDialogFragmentCompat fragment = new ColorPickerPreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}
 
Example #2
Source File: RingtonePreferenceDialogFragmentCompat.java    From Silence with GNU General Public License v3.0 5 votes vote down vote up
public static RingtonePreferenceDialogFragmentCompat newInstance(String key) {
  RingtonePreferenceDialogFragmentCompat fragment = new RingtonePreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}
 
Example #3
Source File: CustomDefaultPreference.java    From Silence with GNU General Public License v3.0 5 votes vote down vote up
public static CustomDefaultPreferenceDialogFragmentCompat newInstance(String key) {
  CustomDefaultPreferenceDialogFragmentCompat fragment = new CustomDefaultPreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}
 
Example #4
Source File: ColorPreferenceFragment.java    From hsv-alpha-color-picker-android with Apache License 2.0 5 votes vote down vote up
public static ColorPreferenceFragment newInstance(String prefKey) {
	ColorPreferenceFragment fragment = new ColorPreferenceFragment();
	Bundle bundle = new Bundle(1);
	bundle.putString(PreferenceDialogFragmentCompat.ARG_KEY, prefKey);
	fragment.setArguments(bundle);
	return fragment;
}