Back to project page android-movies-demo.
The source code is released under:
MIT License
If you think the Android project android-movies-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.idunnolol.moviesdemo.ui; //w ww . j a v a 2s . c o m import android.app.AlertDialog; import android.app.Dialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.ContextThemeWrapper; import com.idunnolol.moviesdemo.R; public class AboutDialogFragment extends DialogFragment { @Override public Dialog onCreateDialog(Bundle savedInstanceState) { ContextThemeWrapper context = new ContextThemeWrapper(getActivity(), android.R.style.Theme_Holo_Dialog); AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setMessage(R.string.about_msg); builder.setNeutralButton(android.R.string.ok, null); return builder.create(); } }