List of usage examples for android.support.v4.app DialogFragment STYLE_NO_TITLE
int STYLE_NO_TITLE
To view the source code for android.support.v4.app DialogFragment STYLE_NO_TITLE.
Click Source Link
From source file:mobile.tiis.appv2.fragments.MonthlyPerformanceFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light); }
From source file:de.grobox.transportr.favorites.locations.SpecialLocationFragment.java
@Override @SuppressWarnings("ConstantConditions") public void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); inject(((TransportrApplication) getActivity().getApplication()).getComponent()); if (settingsManager.getTheme() == R.style.AppTheme) { setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme); } else {/*w w w .j av a2s .com*/ setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme_Light); } }
From source file:de.grobox.liberario.fragments.TimeDateFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (Preferences.darkThemeEnabled(getActivity())) { setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme); } else {// w w w . j a va 2s . c o m setStyle(DialogFragment.STYLE_NO_TITLE, R.style.SetHomeDialogTheme_Light); } if (savedInstanceState == null) { calendar = (Calendar) getArguments().getSerializable(CALENDAR); if (calendar == null) throw new IllegalArgumentException("Calendar missing"); } else { calendar = (Calendar) savedInstanceState.getSerializable(CALENDAR); } }
From source file:in.lovelacetech.qrib.ui.fragment.DetailFragment.java
@Nullable @Override/*w ww .jav a2s .c om*/ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.fragment_detail, container, false); mAvatarView = (CircleImageView) v.findViewById(R.id.avatar_view); mNameView = (TextView) v.findViewById(R.id.name_view); mTimeView = (TextView) v.findViewById(R.id.time_view); mContentView = (TextView) v.findViewById(R.id.content_view); mPhotoView = (ImageView) v.findViewById(R.id.photo_view); mPhotoView.setVisibility(View.GONE); // not visible by default setStyle(DialogFragment.STYLE_NO_TITLE, 0); mUri = Uri.parse(getArguments().getString("data_uri")); return v; }
From source file:org.liberty.android.fantastischmemo.ui.OpenActionsFragment.java
@Override public void onCreate(Bundle bundle) { super.onCreate(bundle); Bundle args = this.getArguments(); dbPath = args.getString(EXTRA_DBPATH); setStyle(DialogFragment.STYLE_NO_TITLE, 0); }
From source file:io.openkit.OKLoginFragment.java
@Override public void onCreate(Bundle savedInstanceState) { setRetainInstance(true);// w w w . j av a2 s .c o m fbLoginRequest = new FBLoginRequest(); OKLog.v("OKLoginFragment oncreate"); setStyle(DialogFragment.STYLE_NO_TITLE, 0); setCancelable(false); super.onCreate(savedInstanceState); }
From source file:com.malubu.wordpress.ratemedialogv4.RateMeDialogV4.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //The title is in a explicit TextView. setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog); _publisherName = getArguments().getString(RATEMEDIALOG_PUBLISHER); _appPackageName = getArguments().getString(RATEMEDIALOG_APPAPCKAGENAME); _title = getArguments().getString(RATEMEDIALOG_TITLE); }
From source file:com.chenenyu.areapicker.AreaPicker.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Black); }
From source file:com.tony.selene.dialog.AbDialogUtil.java
/** * /*w ww .j av a 2s. c o m*/ * ???. * * @param view * @param gravity * ? * @param style * @return */ public static AbSampleDialogFragment showDialog(View view, int gravity, int style) { FragmentActivity activity = (FragmentActivity) view.getContext(); // Create and show the dialog. AbSampleDialogFragment newFragment = AbSampleDialogFragment.newInstance(DialogFragment.STYLE_NO_TITLE, style, gravity); newFragment.setContentView(view); FragmentTransaction ft = activity.getFragmentManager().beginTransaction(); // ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); newFragment.show(ft, dialogTag); return newFragment; }
From source file:com.mbientlab.metawear.app.popup.DataPlotFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setStyle(DialogFragment.STYLE_NO_TITLE, android.R.style.Theme_Holo_Light_Dialog); }